2012-04-06 15:09:59 +08:00
|
|
|
# RUN: llvm-mc --disassemble %s -triple=x86_64 | FileCheck %s
|
|
|
|
|
|
|
|
# Coverage
|
|
|
|
|
2013-02-15 03:15:14 +08:00
|
|
|
# CHECK: vcmptrue_usps
|
2012-04-06 15:09:59 +08:00
|
|
|
0xc5 0x04 0xc2 0xc7 0x1f
|
|
|
|
|
2013-02-15 03:15:14 +08:00
|
|
|
# CHECK: vcmptrue_uspd
|
2012-04-06 15:09:59 +08:00
|
|
|
0xc5 0x05 0xc2 0xc7 0x1f
|
|
|
|
|
2013-02-15 03:15:14 +08:00
|
|
|
# CHECK: vcmptrue_usss
|
2012-04-06 15:09:59 +08:00
|
|
|
0xc5 0x06 0xc2 0xc7 0x1f
|
|
|
|
|
2013-02-15 03:15:14 +08:00
|
|
|
# CHECK: vcmptrue_ussd
|
2012-04-06 15:09:59 +08:00
|
|
|
0xc5 0x07 0xc2 0xc7 0x1f
|
|
|
|
|
2013-02-15 03:15:14 +08:00
|
|
|
# CHECK: vcmpeq_uqps
|
2012-04-06 15:09:59 +08:00
|
|
|
0xc5 0x04 0xc2 0xc7 0x08
|
|
|
|
|
2013-02-15 03:15:14 +08:00
|
|
|
# CHECK: vcmpeq_uqpd
|
2012-04-06 15:09:59 +08:00
|
|
|
0xc5 0x05 0xc2 0xc7 0x08
|
|
|
|
|
2013-02-15 03:15:14 +08:00
|
|
|
# CHECK: vcmpeq_uqss
|
2012-04-06 15:09:59 +08:00
|
|
|
0xc5 0x06 0xc2 0xc7 0x08
|
|
|
|
|
2013-02-15 03:15:14 +08:00
|
|
|
# CHECK: vcmpeq_uqsd
|
2012-04-06 15:09:59 +08:00
|
|
|
0xc5 0x07 0xc2 0xc7 0x08
|
|
|
|
|
2013-02-15 03:15:14 +08:00
|
|
|
# CHECK: vcmpeqps
|
2012-04-06 15:09:59 +08:00
|
|
|
0xc5 0x04 0xc2 0xc7 0x00
|
|
|
|
|
2013-02-15 03:15:14 +08:00
|
|
|
# CHECK: vcmpeqpd
|
2012-04-06 15:09:59 +08:00
|
|
|
0xc5 0x05 0xc2 0xc7 0x00
|
|
|
|
|
2013-02-15 03:15:14 +08:00
|
|
|
# CHECK: vcmpeqss
|
2012-04-06 15:09:59 +08:00
|
|
|
0xc5 0x06 0xc2 0xc7 0x00
|
|
|
|
|
2013-02-15 03:15:14 +08:00
|
|
|
# CHECK: vcmpeqsd
|
2012-04-06 15:09:59 +08:00
|
|
|
0xc5 0x07 0xc2 0xc7 0x00
|
|
|
|
|
2013-02-15 03:15:14 +08:00
|
|
|
# CHECK: cmpeqps
|
2012-04-06 15:09:59 +08:00
|
|
|
0x0f 0xc2 0xc7 0x00
|
|
|
|
|
2013-02-15 03:15:14 +08:00
|
|
|
# CHECK: cmpeqpd
|
2012-04-06 15:09:59 +08:00
|
|
|
0x66 0x0f 0xc2 0xc7 0x00
|
|
|
|
|
2013-02-15 03:15:14 +08:00
|
|
|
# CHECK: cmpeqss
|
2012-04-06 15:09:59 +08:00
|
|
|
0xf3 0x0f 0xc2 0xc7 0x00
|
|
|
|
|
2013-02-15 03:15:14 +08:00
|
|
|
# CHECK: cmpeqsd
|
2012-04-06 15:09:59 +08:00
|
|
|
0xf2 0x0f 0xc2 0xc7 0x00
|
|
|
|
|
2013-02-15 03:15:14 +08:00
|
|
|
# CHECK: cmpordps
|
2012-04-06 15:09:59 +08:00
|
|
|
0x0f 0xc2 0xc7 0x07
|
|
|
|
|
2013-02-15 03:15:14 +08:00
|
|
|
# CHECK: cmpordpd
|
2012-04-06 15:09:59 +08:00
|
|
|
0x66 0x0f 0xc2 0xc7 0x07
|
|
|
|
|
2013-02-15 03:15:14 +08:00
|
|
|
# CHECK: cmpordss
|
2012-04-06 15:09:59 +08:00
|
|
|
0xf3 0x0f 0xc2 0xc7 0x07
|
|
|
|
|
2013-02-15 03:15:14 +08:00
|
|
|
# CHECK: cmpordsd
|
2012-04-06 15:09:59 +08:00
|
|
|
0xf2 0x0f 0xc2 0xc7 0x07
|
2012-05-30 03:05:25 +08:00
|
|
|
|
|
|
|
# CHECK: extrq $2, $3, %xmm0
|
|
|
|
0x66 0x0f 0x78 0xc0 0x03 0x02
|
|
|
|
|
|
|
|
# CHECK: extrq %xmm1, %xmm0
|
|
|
|
0x66 0x0f 0x79 0xc1
|
|
|
|
|
|
|
|
# CHECK: insertq $6, $5, %xmm1, %xmm0
|
|
|
|
0xf2 0x0f 0x78 0xc1 0x05 0x06
|
|
|
|
|
|
|
|
# CHECK: insertq %xmm1, %xmm0
|
|
|
|
0xf2 0x0f 0x79 0xc1
|
|
|
|
|
|
|
|
# CHECK: movntsd %xmm0, (%rdi)
|
|
|
|
0xf2 0x0f 0x2b 0x07
|
|
|
|
|
|
|
|
# CHECK: movntss %xmm0, (%rdi)
|
|
|
|
0xf3 0x0f 0x2b 0x07
|
2013-02-15 03:08:21 +08:00
|
|
|
|
|
|
|
# CHECK: adcxl %eax, %eax
|
|
|
|
0x66 0x0f 0x38 0xf6 0xc0
|
|
|
|
|
|
|
|
# CHECK: adcxl (%rax), %eax
|
|
|
|
0x66 0x0f 0x38 0xf6 0x00
|
|
|
|
|
|
|
|
# CHECK: adcxq %rax, %rax
|
|
|
|
0x66 0x48 0x0f 0x38 0xf6 0xc0
|
|
|
|
|
|
|
|
# CHECK: adcxq (%rax), %rax
|
|
|
|
0x66 0x48 0x0f 0x38 0xf6 0x00
|
|
|
|
|
|
|
|
# CHECK: adoxl %eax, %eax
|
|
|
|
0xf3 0x0f 0x38 0xf6 0xc0
|
|
|
|
|
|
|
|
# CHECK: adoxl (%rax), %eax
|
|
|
|
0xf3 0x0f 0x38 0xf6 0x00
|
|
|
|
|
|
|
|
# CHECK: adoxq %rax, %rax
|
|
|
|
0xf3 0x48 0x0f 0x38 0xf6 0xc0
|
|
|
|
|
|
|
|
# CHECK: adoxq (%rax), %rax
|
|
|
|
0xf3 0x48 0x0f 0x38 0xf6 0x00
|
2013-03-12 05:17:13 +08:00
|
|
|
|
|
|
|
# CHECK: xbegin 53
|
|
|
|
0xc7 0xf8 0x35 0x00 0x00 0x00
|
|
|
|
|
|
|
|
# CHECK: xend
|
|
|
|
0x0f 0x01 0xd5
|
|
|
|
|
|
|
|
# CHECK: xabort $13
|
|
|
|
0xc6 0xf8 0x0d
|
2013-04-11 05:52:25 +08:00
|
|
|
|
|
|
|
# CHECK: xsaveq (%rax)
|
|
|
|
0x48 0x0f 0xae 0x20
|
|
|
|
|
|
|
|
# CHECK: xrstorq (%rax)
|
|
|
|
0x48 0x0f 0xae 0x28
|
|
|
|
|
|
|
|
# CHECK: xsaveoptq (%rax)
|
|
|
|
0x48 0x0f 0xae 0x30
|
2013-04-11 12:52:28 +08:00
|
|
|
|
|
|
|
# CHECK: clac
|
|
|
|
0x0f 0x01 0xca
|
|
|
|
|
|
|
|
# CHECK: stac
|
|
|
|
0x0f 0x01 0xcb
|
2013-07-23 05:25:31 +08:00
|
|
|
|
|
|
|
# CHECK: movabsb -6066930261531658096, %al
|
|
|
|
0xa0 0x90 0x78 0x56 0x34 0x12 0xef 0xcd 0xab
|
|
|
|
|
|
|
|
# CHECK: movabsb -6066930261531658096, %al
|
|
|
|
0x48 0xa0 0x90 0x78 0x56 0x34 0x12 0xef 0xcd 0xab
|
|
|
|
|
|
|
|
# CHECK: movabsw -6066930261531658096, %ax
|
|
|
|
0x66 0xa1 0x90 0x78 0x56 0x34 0x12 0xef 0xcd 0xab
|
|
|
|
|
|
|
|
# CHECK: movabsl -6066930261531658096, %eax
|
|
|
|
0xa1 0x90 0x78 0x56 0x34 0x12 0xef 0xcd 0xab
|
|
|
|
|
|
|
|
# CHECK: movabsq -6066930261531658096, %rax
|
|
|
|
0x48 0xa1 0x90 0x78 0x56 0x34 0x12 0xef 0xcd 0xab
|
|
|
|
|
|
|
|
# CHECK: movabsb %al, -6066930261531658096
|
|
|
|
0xa2 0x90 0x78 0x56 0x34 0x12 0xef 0xcd 0xab
|
|
|
|
|
|
|
|
# CHECK: movabsb %al, -6066930261531658096
|
|
|
|
0x48 0xa2 0x90 0x78 0x56 0x34 0x12 0xef 0xcd 0xab
|
|
|
|
|
|
|
|
# CHECK: movabsw %ax, -6066930261531658096
|
|
|
|
0x66 0xa3 0x90 0x78 0x56 0x34 0x12 0xef 0xcd 0xab
|
|
|
|
|
|
|
|
# CHECK: movabsl %eax, -6066930261531658096
|
|
|
|
0xa3 0x90 0x78 0x56 0x34 0x12 0xef 0xcd 0xab
|
|
|
|
|
|
|
|
# CHECK: movabsq %rax, -6066930261531658096
|
|
|
|
0x48 0xa3 0x90 0x78 0x56 0x34 0x12 0xef 0xcd 0xab
|
2013-09-12 23:51:31 +08:00
|
|
|
|
|
|
|
# CHECK: sha1rnds4 $1, %xmm1, %xmm2
|
|
|
|
0x0f 0x3a 0xcc 0xd1 0x01
|
|
|
|
|
|
|
|
# CHECK: sha1rnds4 $1, (%rax), %xmm2
|
2013-09-14 23:03:21 +08:00
|
|
|
0x0f 0x3a 0xcc 0x10 0x01
|
|
|
|
|
|
|
|
# CHECK: sha1nexte %xmm1, %xmm2
|
|
|
|
0x0f 0x38 0xc8 0xd1
|
|
|
|
|
|
|
|
# CHECK: sha1nexte (%rax), %xmm2
|
|
|
|
0x0f 0x38 0xc8 0x10
|
|
|
|
|
|
|
|
# CHECK: sha1msg1 %xmm1, %xmm2
|
|
|
|
0x0f 0x38 0xc9 0xd1
|
|
|
|
|
|
|
|
# CHECK: sha1msg1 (%rax), %xmm2
|
|
|
|
0x0f 0x38 0xc9 0x10
|
|
|
|
|
|
|
|
# CHECK: sha1msg2 %xmm1, %xmm2
|
|
|
|
0x0f 0x38 0xca 0xd1
|
|
|
|
|
|
|
|
# CHECK: sha1msg2 (%rax), %xmm2
|
|
|
|
0x0f 0x38 0xca 0x10
|
|
|
|
|
|
|
|
# CHECK: sha256rnds2 (%rax), %xmm2
|
|
|
|
0x0f 0x38 0xcb 0x10
|
|
|
|
|
|
|
|
# CHECK: sha256rnds2 %xmm1, %xmm2
|
|
|
|
0x0f 0x38 0xcb 0xd1
|
|
|
|
|
|
|
|
# CHECK: sha256msg1 %xmm1, %xmm2
|
|
|
|
0x0f 0x38 0xcc 0xd1
|
|
|
|
|
|
|
|
# CHECK: sha256msg1 (%rax), %xmm2
|
|
|
|
0x0f 0x38 0xcc 0x10
|
|
|
|
|
|
|
|
# CHECK: sha256msg2 %xmm1, %xmm2
|
|
|
|
0x0f 0x38 0xcd 0xd1
|
|
|
|
|
|
|
|
# CHECK: sha256msg2 (%rax), %xmm2
|
|
|
|
0x0f 0x38 0xcd 0x10
|