summaryrefslogtreecommitdiff
path: root/src/asm
diff options
context:
space:
mode:
authorSmileTheory <SmileTheory@gmail.com>2013-01-07 20:30:49 -0800
committerTim Angus <tim@ngus.net>2013-01-12 21:35:58 +0000
commit29e4986324f270d61c816bd2747b080a3b460700 (patch)
tree56c387d9c2ad45cae11c02fb2e6d8761686aecaf /src/asm
parent80db80834503e2ecbe0e880083188edc5f34cb86 (diff)
#5818 - Modular renderer and Rend2 support for MSVC.
Diffstat (limited to 'src/asm')
-rw-r--r--src/asm/ftola.asm3
-rw-r--r--src/asm/snapvector.asm3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/asm/ftola.asm b/src/asm/ftola.asm
index eea9d0e3..321b6b5e 100644
--- a/src/asm/ftola.asm
+++ b/src/asm/ftola.asm
@@ -21,6 +21,9 @@
; MASM ftol conversion functions using SSE or FPU
; assume __cdecl calling convention is being used for x86, __fastcall for x64
+.686p
+.xmm
+
IFNDEF idx64
.model flat, c
ENDIF
diff --git a/src/asm/snapvector.asm b/src/asm/snapvector.asm
index 22f9b225..9e61bec6 100644
--- a/src/asm/snapvector.asm
+++ b/src/asm/snapvector.asm
@@ -24,6 +24,9 @@
; function prototype:
; void qsnapvector(vec3_t vec)
+.686p
+.xmm
+
IFNDEF idx64
.model flat, c
ENDIF