2011-10-15 20:46:47 +00:00
|
|
|
// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
|
|
|
|
|
|
|
|
// CHECK: blsmskl %r11d, %r10d
|
|
|
|
// CHECK: encoding: [0xc4,0xc2,0x28,0xf3,0xd3]
|
|
|
|
blsmskl %r11d, %r10d
|
|
|
|
|
|
|
|
// CHECK: blsmskq %r11, %r10
|
|
|
|
// CHECK: encoding: [0xc4,0xc2,0xa8,0xf3,0xd3]
|
|
|
|
blsmskq %r11, %r10
|
|
|
|
|
|
|
|
// CHECK: blsmskl (%rax), %r10d
|
|
|
|
// CHECK: encoding: [0xc4,0xe2,0x28,0xf3,0x10]
|
|
|
|
blsmskl (%rax), %r10d
|
|
|
|
|
|
|
|
// CHECK: blsmskq (%rax), %r10
|
|
|
|
// CHECK: encoding: [0xc4,0xe2,0xa8,0xf3,0x10]
|
|
|
|
blsmskq (%rax), %r10
|
|
|
|
|
|
|
|
// CHECK: blsil %r11d, %r10d
|
|
|
|
// CHECK: encoding: [0xc4,0xc2,0x28,0xf3,0xdb]
|
|
|
|
blsil %r11d, %r10d
|
|
|
|
|
|
|
|
// CHECK: blsiq %r11, %r10
|
|
|
|
// CHECK: encoding: [0xc4,0xc2,0xa8,0xf3,0xdb]
|
|
|
|
blsiq %r11, %r10
|
|
|
|
|
|
|
|
// CHECK: blsil (%rax), %r10d
|
|
|
|
// CHECK: encoding: [0xc4,0xe2,0x28,0xf3,0x18]
|
|
|
|
blsil (%rax), %r10d
|
|
|
|
|
|
|
|
// CHECK: blsiq (%rax), %r10
|
|
|
|
// CHECK: encoding: [0xc4,0xe2,0xa8,0xf3,0x18]
|
|
|
|
blsiq (%rax), %r10
|
|
|
|
|
|
|
|
// CHECK: blsrl %r11d, %r10d
|
|
|
|
// CHECK: encoding: [0xc4,0xc2,0x28,0xf3,0xcb]
|
|
|
|
blsrl %r11d, %r10d
|
|
|
|
|
|
|
|
// CHECK: blsrq %r11, %r10
|
|
|
|
// CHECK: encoding: [0xc4,0xc2,0xa8,0xf3,0xcb]
|
|
|
|
blsrq %r11, %r10
|
|
|
|
|
|
|
|
// CHECK: blsrl (%rax), %r10d
|
|
|
|
// CHECK: encoding: [0xc4,0xe2,0x28,0xf3,0x08]
|
|
|
|
blsrl (%rax), %r10d
|
|
|
|
|
|
|
|
// CHECK: blsrq (%rax), %r10
|
|
|
|
// CHECK: encoding: [0xc4,0xe2,0xa8,0xf3,0x08]
|
|
|
|
blsrq (%rax), %r10
|
|
|
|
|
|
|
|
// CHECK: andnl (%rax), %r11d, %r10d
|
|
|
|
// CHECK: encoding: [0xc4,0x62,0x20,0xf2,0x10]
|
|
|
|
andnl (%rax), %r11d, %r10d
|
|
|
|
|
|
|
|
// CHECK: andnq (%rax), %r11, %r10
|
|
|
|
// CHECK: encoding: [0xc4,0x62,0xa0,0xf2,0x10]
|
|
|
|
andnq (%rax), %r11, %r10
|
2011-10-16 03:51:13 +00:00
|
|
|
|
|
|
|
// CHECK: bextrl %r12d, (%rax), %r10d
|
|
|
|
// CHECK: encoding: [0xc4,0x62,0x18,0xf7,0x10]
|
|
|
|
bextrl %r12d, (%rax), %r10d
|
|
|
|
|
|
|
|
// CHECK: bextrl %r12d, %r11d, %r10d
|
|
|
|
// CHECK: encoding: [0xc4,0x42,0x18,0xf7,0xd3]
|
|
|
|
bextrl %r12d, %r11d, %r10d
|
|
|
|
|
|
|
|
// CHECK: bextrq %r12, (%rax), %r10
|
|
|
|
// CHECK: encoding: [0xc4,0x62,0x98,0xf7,0x10]
|
|
|
|
bextrq %r12, (%rax), %r10
|
|
|
|
|
|
|
|
// CHECK: bextrq %r12, %r11, %r10
|
|
|
|
// CHECK: encoding: [0xc4,0x42,0x98,0xf7,0xd3]
|
|
|
|
bextrq %r12, %r11, %r10
|
2011-10-16 07:55:05 +00:00
|
|
|
|
|
|
|
// CHECK: bzhil %r12d, (%rax), %r10d
|
|
|
|
// CHECK: encoding: [0xc4,0x62,0x18,0xf5,0x10]
|
|
|
|
bzhil %r12d, (%rax), %r10d
|
|
|
|
|
|
|
|
// CHECK: bzhil %r12d, %r11d, %r10d
|
|
|
|
// CHECK: encoding: [0xc4,0x42,0x18,0xf5,0xd3]
|
|
|
|
bzhil %r12d, %r11d, %r10d
|
|
|
|
|
|
|
|
// CHECK: bzhiq %r12, (%rax), %r10
|
|
|
|
// CHECK: encoding: [0xc4,0x62,0x98,0xf5,0x10]
|
|
|
|
bzhiq %r12, (%rax), %r10
|
|
|
|
|
|
|
|
// CHECK: bzhiq %r12, %r11, %r10
|
|
|
|
// CHECK: encoding: [0xc4,0x42,0x98,0xf5,0xd3]
|
|
|
|
bzhiq %r12, %r11, %r10
|
2011-10-16 16:50:08 +00:00
|
|
|
|
2011-10-19 07:48:35 +00:00
|
|
|
// CHECK: pextl %r12d, %r11d, %r10d
|
2011-10-16 16:50:08 +00:00
|
|
|
// CHECK: encoding: [0xc4,0x42,0x22,0xf5,0xd4]
|
2011-10-19 07:48:35 +00:00
|
|
|
pextl %r12d, %r11d, %r10d
|
2011-10-16 16:50:08 +00:00
|
|
|
|
2011-10-19 07:48:35 +00:00
|
|
|
// CHECK: pextl (%rax), %r11d, %r10d
|
2011-10-16 16:50:08 +00:00
|
|
|
// CHECK: encoding: [0xc4,0x62,0x22,0xf5,0x10]
|
2011-10-19 07:48:35 +00:00
|
|
|
pextl (%rax), %r11d, %r10d
|
2011-10-16 16:50:08 +00:00
|
|
|
|
2011-10-19 07:48:35 +00:00
|
|
|
// CHECK: pextq %r12, %r11, %r10
|
2011-10-16 16:50:08 +00:00
|
|
|
// CHECK: encoding: [0xc4,0x42,0xa2,0xf5,0xd4]
|
2011-10-19 07:48:35 +00:00
|
|
|
pextq %r12, %r11, %r10
|
2011-10-16 16:50:08 +00:00
|
|
|
|
2011-10-19 07:48:35 +00:00
|
|
|
// CHECK: pextq (%rax), %r11, %r10
|
2011-10-16 16:50:08 +00:00
|
|
|
// CHECK: encoding: [0xc4,0x62,0xa2,0xf5,0x10]
|
2011-10-19 07:48:35 +00:00
|
|
|
pextq (%rax), %r11, %r10
|
2011-10-16 16:50:08 +00:00
|
|
|
|
|
|
|
// CHECK: pdepl %r12d, %r11d, %r10d
|
|
|
|
// CHECK: encoding: [0xc4,0x42,0x23,0xf5,0xd4]
|
|
|
|
pdepl %r12d, %r11d, %r10d
|
|
|
|
|
|
|
|
// CHECK: pdepl (%rax), %r11d, %r10d
|
|
|
|
// CHECK: encoding: [0xc4,0x62,0x23,0xf5,0x10]
|
|
|
|
pdepl (%rax), %r11d, %r10d
|
|
|
|
|
|
|
|
// CHECK: pdepq %r12, %r11, %r10
|
|
|
|
// CHECK: encoding: [0xc4,0x42,0xa3,0xf5,0xd4]
|
|
|
|
pdepq %r12, %r11, %r10
|
|
|
|
|
|
|
|
// CHECK: pdepq (%rax), %r11, %r10
|
|
|
|
// CHECK: encoding: [0xc4,0x62,0xa3,0xf5,0x10]
|
|
|
|
pdepq (%rax), %r11, %r10
|