summaryrefslogtreecommitdiff
path: root/vp8/common/x86/sad_sse3.asm
diff options
context:
space:
mode:
authorFrank Galligan <fgalligan@google.com>2013-01-31 15:36:55 -0800
committerFrank Galligan <fgalligan@google.com>2013-01-31 16:25:37 -0800
commitf67d740b342f3a0d7d0605bfb0a13db0987e57e7 (patch)
treedc32dbd8bb1ad221f96bdc43a64799e205838a2c /vp8/common/x86/sad_sse3.asm
parent14301116e27e6d776afe00214dc370355ecc3d0b (diff)
downloadlibvpx-f67d740b342f3a0d7d0605bfb0a13db0987e57e7.tar
libvpx-f67d740b342f3a0d7d0605bfb0a13db0987e57e7.tar.gz
libvpx-f67d740b342f3a0d7d0605bfb0a13db0987e57e7.tar.bz2
libvpx-f67d740b342f3a0d7d0605bfb0a13db0987e57e7.zip
Add support for x64 and win64 yasm flags.
Some projects must define only win64 for Windows 64bit builds using yasm. Change-Id: I1d09590d66a7bfc8b4412e1cc8685978ac60b748
Diffstat (limited to 'vp8/common/x86/sad_sse3.asm')
-rw-r--r--vp8/common/x86/sad_sse3.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/vp8/common/x86/sad_sse3.asm b/vp8/common/x86/sad_sse3.asm
index f90a58998..69c8d3769 100644
--- a/vp8/common/x86/sad_sse3.asm
+++ b/vp8/common/x86/sad_sse3.asm
@@ -33,7 +33,7 @@
movsxd rax, dword ptr arg(1) ; src_stride
movsxd rdx, dword ptr arg(3) ; ref_stride
%else
- %ifidn __OUTPUT_FORMAT__,x64
+ %if LIBVPX_YASM_WIN64
SAVE_XMM 7, u
%define src_ptr rcx
%define src_stride rdx
@@ -76,7 +76,7 @@
pop rsi
pop rbp
%else
- %ifidn __OUTPUT_FORMAT__,x64
+ %if LIBVPX_YASM_WIN64
RESTORE_XMM
%endif
%endif
@@ -111,7 +111,7 @@
xchg rbx, rax
%else
- %ifidn __OUTPUT_FORMAT__,x64
+ %if LIBVPX_YASM_WIN64
SAVE_XMM 7, u
%define src_ptr rcx
%define src_stride rdx
@@ -156,7 +156,7 @@
pop rsi
pop rbp
%else
- %ifidn __OUTPUT_FORMAT__,x64
+ %if LIBVPX_YASM_WIN64
pop rsi
RESTORE_XMM
%endif