diff options
-rwxr-xr-x | modules/arch/x86/gen_x86_insn.py | 4 | ||||
-rw-r--r-- | modules/arch/x86/tests/avx.asm | 26 |
2 files changed, 15 insertions, 15 deletions
diff --git a/modules/arch/x86/gen_x86_insn.py b/modules/arch/x86/gen_x86_insn.py index 113d64a2..1f250d10 100755 --- a/modules/arch/x86/gen_x86_insn.py +++ b/modules/arch/x86/gen_x86_insn.py @@ -6040,8 +6040,8 @@ add_insn("vcvttpd2dqy", "avx_cvt_xmm128_y", modifiers=[0x66, 0xE6], parser="gas" add_insn("vcvttpd2dq", "avx_cvt_xmm128", modifiers=[0x66, 0xE6]) # Instructions new to AVX -add_insn("vptestps", "sse4", modifiers=[0x0E, VEXL0], avx=True) -add_insn("vptestpd", "sse4", modifiers=[0x0F, VEXL0], avx=True) +add_insn("vtestps", "sse4", modifiers=[0x0E, VEXL0], avx=True) +add_insn("vtestpd", "sse4", modifiers=[0x0F, VEXL0], avx=True) add_group("vbroadcastss", cpu=["AVX"], diff --git a/modules/arch/x86/tests/avx.asm b/modules/arch/x86/tests/avx.asm index 45495033..2a2ad594 100644 --- a/modules/arch/x86/tests/avx.asm +++ b/modules/arch/x86/tests/avx.asm @@ -2154,19 +2154,19 @@ vptest ymm1, ymm2 vptest ymm1, [rax] vptest ymm1, yword [rax] -vptestps xmm1, xmm2 -vptestps xmm1, [rax] -vptestps xmm1, dqword [rax] -vptestps ymm1, ymm2 -vptestps ymm1, [rax] -vptestps ymm1, yword [rax] - -vptestpd xmm1, xmm2 -vptestpd xmm1, [rax] -vptestpd xmm1, dqword [rax] -vptestpd ymm1, ymm2 -vptestpd ymm1, [rax] -vptestpd ymm1, yword [rax] +vtestps xmm1, xmm2 +vtestps xmm1, [rax] +vtestps xmm1, dqword [rax] +vtestps ymm1, ymm2 +vtestps ymm1, [rax] +vtestps ymm1, yword [rax] + +vtestpd xmm1, xmm2 +vtestpd xmm1, [rax] +vtestpd xmm1, dqword [rax] +vtestpd ymm1, ymm2 +vtestpd ymm1, [rax] +vtestpd ymm1, yword [rax] psubb xmm1, xmm2 psubb xmm1, [rax] |