diff options
Diffstat (limited to 'test/MC/X86/x86-64-avx512bw.s')
-rw-r--r-- | test/MC/X86/x86-64-avx512bw.s | 261 |
1 files changed, 261 insertions, 0 deletions
diff --git a/test/MC/X86/x86-64-avx512bw.s b/test/MC/X86/x86-64-avx512bw.s index 7aa7afa..0d055b1 100644 --- a/test/MC/X86/x86-64-avx512bw.s +++ b/test/MC/X86/x86-64-avx512bw.s @@ -1747,3 +1747,264 @@ // CHECK: vpcmpnleuw -8256(%rdx), %zmm22, %k4 // CHECK: encoding: [0x62,0xf3,0xcd,0x40,0x3e,0xa2,0xc0,0xdf,0xff,0xff,0x06] vpcmpnleuw -8256(%rdx), %zmm22, %k4 + +// CHECK: vpsllw %xmm24, %zmm21, %zmm24 +// CHECK: encoding: [0x62,0x01,0x55,0x40,0xf1,0xc0] + vpsllw %xmm24, %zmm21, %zmm24 + +// CHECK: vpsllw %xmm24, %zmm21, %zmm24 {%k2} +// CHECK: encoding: [0x62,0x01,0x55,0x42,0xf1,0xc0] + vpsllw %xmm24, %zmm21, %zmm24 {%k2} + +// CHECK: vpsllw %xmm24, %zmm21, %zmm24 {%k2} {z} +// CHECK: encoding: [0x62,0x01,0x55,0xc2,0xf1,0xc0] + vpsllw %xmm24, %zmm21, %zmm24 {%k2} {z} + +// CHECK: vpsllw (%rcx), %zmm21, %zmm24 +// CHECK: encoding: [0x62,0x61,0x55,0x40,0xf1,0x01] + vpsllw (%rcx), %zmm21, %zmm24 + +// CHECK: vpsllw 291(%rax,%r14,8), %zmm21, %zmm24 +// CHECK: encoding: [0x62,0x21,0x55,0x40,0xf1,0x84,0xf0,0x23,0x01,0x00,0x00] + vpsllw 291(%rax,%r14,8), %zmm21, %zmm24 + +// CHECK: vpsllw 2032(%rdx), %zmm21, %zmm24 +// CHECK: encoding: [0x62,0x61,0x55,0x40,0xf1,0x42,0x7f] + vpsllw 2032(%rdx), %zmm21, %zmm24 + +// CHECK: vpsllw 2048(%rdx), %zmm21, %zmm24 +// CHECK: encoding: [0x62,0x61,0x55,0x40,0xf1,0x82,0x00,0x08,0x00,0x00] + vpsllw 2048(%rdx), %zmm21, %zmm24 + +// CHECK: vpsllw -2048(%rdx), %zmm21, %zmm24 +// CHECK: encoding: [0x62,0x61,0x55,0x40,0xf1,0x42,0x80] + vpsllw -2048(%rdx), %zmm21, %zmm24 + +// CHECK: vpsllw -2064(%rdx), %zmm21, %zmm24 +// CHECK: encoding: [0x62,0x61,0x55,0x40,0xf1,0x82,0xf0,0xf7,0xff,0xff] + vpsllw -2064(%rdx), %zmm21, %zmm24 + +// CHECK: vpsraw %xmm21, %zmm27, %zmm28 +// CHECK: encoding: [0x62,0x21,0x25,0x40,0xe1,0xe5] + vpsraw %xmm21, %zmm27, %zmm28 + +// CHECK: vpsraw %xmm21, %zmm27, %zmm28 {%k4} +// CHECK: encoding: [0x62,0x21,0x25,0x44,0xe1,0xe5] + vpsraw %xmm21, %zmm27, %zmm28 {%k4} + +// CHECK: vpsraw %xmm21, %zmm27, %zmm28 {%k4} {z} +// CHECK: encoding: [0x62,0x21,0x25,0xc4,0xe1,0xe5] + vpsraw %xmm21, %zmm27, %zmm28 {%k4} {z} + +// CHECK: vpsraw (%rcx), %zmm27, %zmm28 +// CHECK: encoding: [0x62,0x61,0x25,0x40,0xe1,0x21] + vpsraw (%rcx), %zmm27, %zmm28 + +// CHECK: vpsraw 291(%rax,%r14,8), %zmm27, %zmm28 +// CHECK: encoding: [0x62,0x21,0x25,0x40,0xe1,0xa4,0xf0,0x23,0x01,0x00,0x00] + vpsraw 291(%rax,%r14,8), %zmm27, %zmm28 + +// CHECK: vpsraw 2032(%rdx), %zmm27, %zmm28 +// CHECK: encoding: [0x62,0x61,0x25,0x40,0xe1,0x62,0x7f] + vpsraw 2032(%rdx), %zmm27, %zmm28 + +// CHECK: vpsraw 2048(%rdx), %zmm27, %zmm28 +// CHECK: encoding: [0x62,0x61,0x25,0x40,0xe1,0xa2,0x00,0x08,0x00,0x00] + vpsraw 2048(%rdx), %zmm27, %zmm28 + +// CHECK: vpsraw -2048(%rdx), %zmm27, %zmm28 +// CHECK: encoding: [0x62,0x61,0x25,0x40,0xe1,0x62,0x80] + vpsraw -2048(%rdx), %zmm27, %zmm28 + +// CHECK: vpsraw -2064(%rdx), %zmm27, %zmm28 +// CHECK: encoding: [0x62,0x61,0x25,0x40,0xe1,0xa2,0xf0,0xf7,0xff,0xff] + vpsraw -2064(%rdx), %zmm27, %zmm28 + +// CHECK: vpsrlw %xmm22, %zmm20, %zmm23 +// CHECK: encoding: [0x62,0xa1,0x5d,0x40,0xd1,0xfe] + vpsrlw %xmm22, %zmm20, %zmm23 + +// CHECK: vpsrlw %xmm22, %zmm20, %zmm23 {%k6} +// CHECK: encoding: [0x62,0xa1,0x5d,0x46,0xd1,0xfe] + vpsrlw %xmm22, %zmm20, %zmm23 {%k6} + +// CHECK: vpsrlw %xmm22, %zmm20, %zmm23 {%k6} {z} +// CHECK: encoding: [0x62,0xa1,0x5d,0xc6,0xd1,0xfe] + vpsrlw %xmm22, %zmm20, %zmm23 {%k6} {z} + +// CHECK: vpsrlw (%rcx), %zmm20, %zmm23 +// CHECK: encoding: [0x62,0xe1,0x5d,0x40,0xd1,0x39] + vpsrlw (%rcx), %zmm20, %zmm23 + +// CHECK: vpsrlw 291(%rax,%r14,8), %zmm20, %zmm23 +// CHECK: encoding: [0x62,0xa1,0x5d,0x40,0xd1,0xbc,0xf0,0x23,0x01,0x00,0x00] + vpsrlw 291(%rax,%r14,8), %zmm20, %zmm23 + +// CHECK: vpsrlw 2032(%rdx), %zmm20, %zmm23 +// CHECK: encoding: [0x62,0xe1,0x5d,0x40,0xd1,0x7a,0x7f] + vpsrlw 2032(%rdx), %zmm20, %zmm23 + +// CHECK: vpsrlw 2048(%rdx), %zmm20, %zmm23 +// CHECK: encoding: [0x62,0xe1,0x5d,0x40,0xd1,0xba,0x00,0x08,0x00,0x00] + vpsrlw 2048(%rdx), %zmm20, %zmm23 + +// CHECK: vpsrlw -2048(%rdx), %zmm20, %zmm23 +// CHECK: encoding: [0x62,0xe1,0x5d,0x40,0xd1,0x7a,0x80] + vpsrlw -2048(%rdx), %zmm20, %zmm23 + +// CHECK: vpsrlw -2064(%rdx), %zmm20, %zmm23 +// CHECK: encoding: [0x62,0xe1,0x5d,0x40,0xd1,0xba,0xf0,0xf7,0xff,0xff] + vpsrlw -2064(%rdx), %zmm20, %zmm23 + +// CHECK: vpsrlw $171, %zmm26, %zmm25 +// CHECK: encoding: [0x62,0x91,0x35,0x40,0x71,0xd2,0xab] + vpsrlw $171, %zmm26, %zmm25 + +// CHECK: vpsrlw $171, %zmm26, %zmm25 {%k6} +// CHECK: encoding: [0x62,0x91,0x35,0x46,0x71,0xd2,0xab] + vpsrlw $171, %zmm26, %zmm25 {%k6} + +// CHECK: vpsrlw $171, %zmm26, %zmm25 {%k6} {z} +// CHECK: encoding: [0x62,0x91,0x35,0xc6,0x71,0xd2,0xab] + vpsrlw $171, %zmm26, %zmm25 {%k6} {z} + +// CHECK: vpsrlw $123, %zmm26, %zmm25 +// CHECK: encoding: [0x62,0x91,0x35,0x40,0x71,0xd2,0x7b] + vpsrlw $123, %zmm26, %zmm25 + +// CHECK: vpsrlw $123, (%rcx), %zmm25 +// CHECK: encoding: [0x62,0xf1,0x35,0x40,0x71,0x11,0x7b] + vpsrlw $123, (%rcx), %zmm25 + +// CHECK: vpsrlw $123, 291(%rax,%r14,8), %zmm25 +// CHECK: encoding: [0x62,0xb1,0x35,0x40,0x71,0x94,0xf0,0x23,0x01,0x00,0x00,0x7b] + vpsrlw $123, 291(%rax,%r14,8), %zmm25 + +// CHECK: vpsrlw $123, 8128(%rdx), %zmm25 +// CHECK: encoding: [0x62,0xf1,0x35,0x40,0x71,0x52,0x7f,0x7b] + vpsrlw $123, 8128(%rdx), %zmm25 + +// CHECK: vpsrlw $123, 8192(%rdx), %zmm25 +// CHECK: encoding: [0x62,0xf1,0x35,0x40,0x71,0x92,0x00,0x20,0x00,0x00,0x7b] + vpsrlw $123, 8192(%rdx), %zmm25 + +// CHECK: vpsrlw $123, -8192(%rdx), %zmm25 +// CHECK: encoding: [0x62,0xf1,0x35,0x40,0x71,0x52,0x80,0x7b] + vpsrlw $123, -8192(%rdx), %zmm25 + +// CHECK: vpsrlw $123, -8256(%rdx), %zmm25 +// CHECK: encoding: [0x62,0xf1,0x35,0x40,0x71,0x92,0xc0,0xdf,0xff,0xff,0x7b] + vpsrlw $123, -8256(%rdx), %zmm25 + +// CHECK: vpsraw $171, %zmm29, %zmm28 +// CHECK: encoding: [0x62,0x91,0x1d,0x40,0x71,0xe5,0xab] + vpsraw $171, %zmm29, %zmm28 + +// CHECK: vpsraw $171, %zmm29, %zmm28 {%k4} +// CHECK: encoding: [0x62,0x91,0x1d,0x44,0x71,0xe5,0xab] + vpsraw $171, %zmm29, %zmm28 {%k4} + +// CHECK: vpsraw $171, %zmm29, %zmm28 {%k4} {z} +// CHECK: encoding: [0x62,0x91,0x1d,0xc4,0x71,0xe5,0xab] + vpsraw $171, %zmm29, %zmm28 {%k4} {z} + +// CHECK: vpsraw $123, %zmm29, %zmm28 +// CHECK: encoding: [0x62,0x91,0x1d,0x40,0x71,0xe5,0x7b] + vpsraw $123, %zmm29, %zmm28 + +// CHECK: vpsraw $123, (%rcx), %zmm28 +// CHECK: encoding: [0x62,0xf1,0x1d,0x40,0x71,0x21,0x7b] + vpsraw $123, (%rcx), %zmm28 + +// CHECK: vpsraw $123, 291(%rax,%r14,8), %zmm28 +// CHECK: encoding: [0x62,0xb1,0x1d,0x40,0x71,0xa4,0xf0,0x23,0x01,0x00,0x00,0x7b] + vpsraw $123, 291(%rax,%r14,8), %zmm28 + +// CHECK: vpsraw $123, 8128(%rdx), %zmm28 +// CHECK: encoding: [0x62,0xf1,0x1d,0x40,0x71,0x62,0x7f,0x7b] + vpsraw $123, 8128(%rdx), %zmm28 + +// CHECK: vpsraw $123, 8192(%rdx), %zmm28 +// CHECK: encoding: [0x62,0xf1,0x1d,0x40,0x71,0xa2,0x00,0x20,0x00,0x00,0x7b] + vpsraw $123, 8192(%rdx), %zmm28 + +// CHECK: vpsraw $123, -8192(%rdx), %zmm28 +// CHECK: encoding: [0x62,0xf1,0x1d,0x40,0x71,0x62,0x80,0x7b] + vpsraw $123, -8192(%rdx), %zmm28 + +// CHECK: vpsraw $123, -8256(%rdx), %zmm28 +// CHECK: encoding: [0x62,0xf1,0x1d,0x40,0x71,0xa2,0xc0,0xdf,0xff,0xff,0x7b] + vpsraw $123, -8256(%rdx), %zmm28 + +// CHECK: vpsrlvw %zmm21, %zmm18, %zmm17 +// CHECK: encoding: [0x62,0xa2,0xed,0x40,0x10,0xcd] + vpsrlvw %zmm21, %zmm18, %zmm17 + +// CHECK: vpsrlvw %zmm21, %zmm18, %zmm17 {%k6} +// CHECK: encoding: [0x62,0xa2,0xed,0x46,0x10,0xcd] + vpsrlvw %zmm21, %zmm18, %zmm17 {%k6} + +// CHECK: vpsrlvw %zmm21, %zmm18, %zmm17 {%k6} {z} +// CHECK: encoding: [0x62,0xa2,0xed,0xc6,0x10,0xcd] + vpsrlvw %zmm21, %zmm18, %zmm17 {%k6} {z} + +// CHECK: vpsrlvw (%rcx), %zmm18, %zmm17 +// CHECK: encoding: [0x62,0xe2,0xed,0x40,0x10,0x09] + vpsrlvw (%rcx), %zmm18, %zmm17 + +// CHECK: vpsrlvw 291(%rax,%r14,8), %zmm18, %zmm17 +// CHECK: encoding: [0x62,0xa2,0xed,0x40,0x10,0x8c,0xf0,0x23,0x01,0x00,0x00] + vpsrlvw 291(%rax,%r14,8), %zmm18, %zmm17 + +// CHECK: vpsrlvw 8128(%rdx), %zmm18, %zmm17 +// CHECK: encoding: [0x62,0xe2,0xed,0x40,0x10,0x4a,0x7f] + vpsrlvw 8128(%rdx), %zmm18, %zmm17 + +// CHECK: vpsrlvw 8192(%rdx), %zmm18, %zmm17 +// CHECK: encoding: [0x62,0xe2,0xed,0x40,0x10,0x8a,0x00,0x20,0x00,0x00] + vpsrlvw 8192(%rdx), %zmm18, %zmm17 + +// CHECK: vpsrlvw -8192(%rdx), %zmm18, %zmm17 +// CHECK: encoding: [0x62,0xe2,0xed,0x40,0x10,0x4a,0x80] + vpsrlvw -8192(%rdx), %zmm18, %zmm17 + +// CHECK: vpsrlvw -8256(%rdx), %zmm18, %zmm17 +// CHECK: encoding: [0x62,0xe2,0xed,0x40,0x10,0x8a,0xc0,0xdf,0xff,0xff] + vpsrlvw -8256(%rdx), %zmm18, %zmm17 + +// CHECK: vpsravw %zmm20, %zmm29, %zmm19 +// CHECK: encoding: [0x62,0xa2,0x95,0x40,0x11,0xdc] + vpsravw %zmm20, %zmm29, %zmm19 + +// CHECK: vpsravw %zmm20, %zmm29, %zmm19 {%k7} +// CHECK: encoding: [0x62,0xa2,0x95,0x47,0x11,0xdc] + vpsravw %zmm20, %zmm29, %zmm19 {%k7} + +// CHECK: vpsravw %zmm20, %zmm29, %zmm19 {%k7} {z} +// CHECK: encoding: [0x62,0xa2,0x95,0xc7,0x11,0xdc] + vpsravw %zmm20, %zmm29, %zmm19 {%k7} {z} + +// CHECK: vpsravw (%rcx), %zmm29, %zmm19 +// CHECK: encoding: [0x62,0xe2,0x95,0x40,0x11,0x19] + vpsravw (%rcx), %zmm29, %zmm19 + +// CHECK: vpsravw 291(%rax,%r14,8), %zmm29, %zmm19 +// CHECK: encoding: [0x62,0xa2,0x95,0x40,0x11,0x9c,0xf0,0x23,0x01,0x00,0x00] + vpsravw 291(%rax,%r14,8), %zmm29, %zmm19 + +// CHECK: vpsravw 8128(%rdx), %zmm29, %zmm19 +// CHECK: encoding: [0x62,0xe2,0x95,0x40,0x11,0x5a,0x7f] + vpsravw 8128(%rdx), %zmm29, %zmm19 + +// CHECK: vpsravw 8192(%rdx), %zmm29, %zmm19 +// CHECK: encoding: [0x62,0xe2,0x95,0x40,0x11,0x9a,0x00,0x20,0x00,0x00] + vpsravw 8192(%rdx), %zmm29, %zmm19 + +// CHECK: vpsravw -8192(%rdx), %zmm29, %zmm19 +// CHECK: encoding: [0x62,0xe2,0x95,0x40,0x11,0x5a,0x80] + vpsravw -8192(%rdx), %zmm29, %zmm19 + +// CHECK: vpsravw -8256(%rdx), %zmm29, %zmm19 +// CHECK: encoding: [0x62,0xe2,0x95,0x40,0x11,0x9a,0xc0,0xdf,0xff,0xff] + vpsravw -8256(%rdx), %zmm29, %zmm19 + |