diff options
author | James Almer <jamrial@gmail.com> | 2015-09-12 04:02:42 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2015-09-12 05:27:03 +0300 |
commit | d5f8a642f6eb1c6e305c41dabddd0fd36ffb3f77 (patch) | |
tree | f31a203e406ee63f8cbe2e7afce1a21f16a27476 /libavutil/x86/x86util.asm | |
parent | 314bc20d7a4bd608a51560e1f174d9ff1d16c327 (diff) |
x86: port PSIGNW to cpuflags
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/x86/x86util.asm')
-rw-r--r-- | libavutil/x86/x86util.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavutil/x86/x86util.asm b/libavutil/x86/x86util.asm index bf64d179b9..b09fa813e2 100644 --- a/libavutil/x86/x86util.asm +++ b/libavutil/x86/x86util.asm @@ -210,13 +210,13 @@ %endif %endmacro -%macro PSIGNW_MMX 2 +%macro PSIGNW 2 +%if cpuflag(ssse3) + psignw %1, %2 +%else pxor %1, %2 psubw %1, %2 -%endmacro - -%macro PSIGNW_SSSE3 2 - psignw %1, %2 +%endif %endmacro %macro ABS1 2 |