summaryrefslogtreecommitdiff
path: root/src/asm
diff options
context:
space:
mode:
authorMichael Rieder <citizen@1984.com>2014-12-07 03:40:52 +0100
committerTim Angus <tim@ngus.net>2015-03-17 11:39:02 +0000
commit68382dc7e3183594eef78ef96de6af93d8ae5056 (patch)
tree0ac46404185af6eaf09acb67a556d869f037aa3d /src/asm
parent1b526b1b557a8b7c94c0df5251d6d174888dbf34 (diff)
Fix compile error with ml64 assembler
Diffstat (limited to 'src/asm')
-rw-r--r--src/asm/ftola.asm3
-rw-r--r--src/asm/snapvector.asm3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/asm/ftola.asm b/src/asm/ftola.asm
index 321b6b5e..a3dc5551 100644
--- a/src/asm/ftola.asm
+++ b/src/asm/ftola.asm
@@ -21,10 +21,9 @@
; MASM ftol conversion functions using SSE or FPU
; assume __cdecl calling convention is being used for x86, __fastcall for x64
+IFNDEF idx64
.686p
.xmm
-
-IFNDEF idx64
.model flat, c
ENDIF
diff --git a/src/asm/snapvector.asm b/src/asm/snapvector.asm
index 9e61bec6..a15f5f5f 100644
--- a/src/asm/snapvector.asm
+++ b/src/asm/snapvector.asm
@@ -24,10 +24,9 @@
; function prototype:
; void qsnapvector(vec3_t vec)
+IFNDEF idx64
.686p
.xmm
-
-IFNDEF idx64
.model flat, c
ENDIF