2009-12-22 07:01:12 +00:00
|
|
|
# RUN: llvm-mc --disassemble %s -triple=x86_64-apple-darwin9 | FileCheck %s
|
2009-12-22 06:37:58 +00:00
|
|
|
|
|
|
|
# CHECK: int $33
|
|
|
|
0xCD 0x21
|
|
|
|
|
|
|
|
# CHECK: int $33
|
|
|
|
0xCD 0x21
|
|
|
|
|
|
|
|
|
|
|
|
# CHECK: addb %al, (%rax)
|
2009-12-22 06:56:51 +00:00
|
|
|
0 0
|
2009-12-22 06:37:58 +00:00
|
|
|
|
|
|
|
# CHECK: callq -1234
|
|
|
|
0xe8 0x2e 0xfb 0xff 0xff
|
|
|
|
|
2010-02-12 23:46:48 +00:00
|
|
|
# CHECK: lfence
|
|
|
|
0x0f 0xae 0xe8
|
|
|
|
|
|
|
|
# CHECK: mfence
|
|
|
|
0x0f 0xae 0xf0
|
|
|
|
|
|
|
|
# CHECK: monitor
|
|
|
|
0x0f 0x01 0xc8
|
|
|
|
|
|
|
|
# CHECK: mwait
|
|
|
|
0x0f 0x01 0xc9
|
|
|
|
|
|
|
|
# CHECK: vmcall
|
|
|
|
0x0f 0x01 0xc1
|
2010-02-13 00:41:14 +00:00
|
|
|
|
|
|
|
# CHECK: vmlaunch
|
|
|
|
0x0f 0x01 0xc2
|
|
|
|
|
|
|
|
# CHECK: vmresume
|
|
|
|
0x0f 0x01 0xc3
|
|
|
|
|
|
|
|
# CHECK: vmxoff
|
|
|
|
0x0f 0x01 0xc4
|
|
|
|
|
|
|
|
# CHECK: swapgs
|
2010-02-13 03:42:24 +00:00
|
|
|
0x0f 0x01 0xf8
|
|
|
|
|
|
|
|
# CHECK: rdtscp
|
2010-03-08 22:17:26 +00:00
|
|
|
0x0f 0x01 0xf9
|
|
|
|
|
|
|
|
# CHECK: vmxon
|
|
|
|
0xf3 0x0f 0xc7 0x30
|
|
|
|
|
|
|
|
# CHECK: vmptrld
|
|
|
|
0x0f 0xc7 0x30
|
|
|
|
|
|
|
|
# CHECK: vmptrst
|
|
|
|
0x0f 0xc7 0x38
|
2010-04-17 17:22:06 +00:00
|
|
|
|
|
|
|
# CHECK: movl $0, -4(%rbp)
|
|
|
|
0xc7 0x45 0xfc 0x00 0x00 0x00 0x00
|
2010-05-06 20:59:00 +00:00
|
|
|
|
|
|
|
# CHECK: movq %cr0, %rcx
|
|
|
|
0x0f 0x20 0xc1
|
2010-07-13 04:23:55 +00:00
|
|
|
|
|
|
|
# CHECK: leal 4(%rsp), %ecx
|
|
|
|
0x8d 0x4c 0x24 0x04
|