projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add some disassemble testcases for weird instructions
[oota-llvm.git]
/
test
/
MC
/
Disassembler
/
simple-tests.txt
1
# RUN: llvm-mc --disassemble %s -triple=x86_64-apple-darwin9 | FileCheck %s
2
3
# CHECK: int $33
4
0xCD 0x21
5
6
# CHECK: int $33
7
0xCD 0x21
8
9
10
# CHECK: addb %al, (%rax)
11
0 0
12
13
# CHECK: callq -1234
14
0xe8 0x2e 0xfb 0xff 0xff
15
16
# CHECK: lfence
17
0x0f 0xae 0xe8
18
19
# CHECK: mfence
20
0x0f 0xae 0xf0
21
22
# CHECK: monitor
23
0x0f 0x01 0xc8
24
25
# CHECK: mwait
26
0x0f 0x01 0xc9
27
28
# CHECK: vmcall
29
0x0f 0x01 0xc1