git.videolan.org
/
x262.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
XOP 8x8 zigzags
[x262.git]
/
common
/
x86
/
x86util.asm
diff --git
a/common/x86/x86util.asm
b/common/x86/x86util.asm
index
f35bb69
..
cb8c021
100644
(file)
--- a/
common/x86/x86util.asm
+++ b/
common/x86/x86util.asm
@@
-787,8
+787,12
@@
%macro SHUFFLE_MASK_W 8
%rep 8
- db %1*2
- db %1*2+1
+ %if %1>=0x80
+ db %1, %1
+ %else
+ db %1*2
+ db %1*2+1
+ %endif
%rotate 1
%endrep
%endmacro