mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
eaebcb4258
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
12 lines
360 B
NASM
12 lines
360 B
NASM
;Testname=unoptimized; Arguments=-O0 -fbin -obr3385573.bin; Files=stdout stderr br3385573.bin
|
|
;Testname=optimized; Arguments=-Ox -fbin -obr3385573.bin; Files=stdout stderr br3385573.bin
|
|
[bits 64]
|
|
|
|
vpmovsxbw ymm1, xmm2
|
|
vpsllw ymm1, ymm2, 3
|
|
vpslld ymm1, ymm2, 3
|
|
vpsllq ymm1, ymm2, 3
|
|
vpsrld ymm1, ymm2, 3
|
|
vpsrad ymm1, ymm2, 3
|
|
vpermq ymm1, [rsi], 9
|