virtexts-thumb.txt
2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# RUN: llvm-mc -disassemble -triple thumbv7 -mcpu=cortex-a15 %s | FileCheck %s --check-prefix=CHECK-THUMB
# RUN: not llvm-mc -disassemble -triple thumbv7 -mcpu=cortex-a9 %s 2>&1 | FileCheck %s --check-prefix=CHECK-NOVIRT
[0xe0,0xf7,0x01,0x80]
[0xe0,0xf7,0x07,0x80]
[0xe0,0xf7,0x01,0x81]
[0xef,0xf7,0xff,0x8f]
# CHECK-THUMB: hvc.w #1
# CHECK-THUMB: hvc.w #7
# CHECK-THUMB: hvc.w #257
# CHECK-THUMB: hvc.w #65535
# CHECK-NOVIRT: warning: invalid instruction encoding
# CHECK-NOVIRT: warning: invalid instruction encoding
# CHECK-NOVIRT: warning: invalid instruction encoding
# CHECK-NOVIRT: warning: invalid instruction encoding
[0xde,0xf3,0x00,0x8f]
[0x08,0xbf] [0xde,0xf3,0x00,0x8f]
[0x18,0xbf] [0xde,0xf3,0x00,0x8f]
[0x28,0xbf] [0xde,0xf3,0x00,0x8f]
[0x38,0xbf] [0xde,0xf3,0x00,0x8f]
[0x48,0xbf] [0xde,0xf3,0x00,0x8f]
[0x58,0xbf] [0xde,0xf3,0x00,0x8f]
[0x68,0xbf] [0xde,0xf3,0x00,0x8f]
[0x78,0xbf] [0xde,0xf3,0x00,0x8f]
[0x88,0xbf] [0xde,0xf3,0x00,0x8f]
[0x98,0xbf] [0xde,0xf3,0x00,0x8f]
[0xa8,0xbf] [0xde,0xf3,0x00,0x8f]
[0xb8,0xbf] [0xde,0xf3,0x00,0x8f]
[0xc8,0xbf] [0xde,0xf3,0x00,0x8f]
[0xd8,0xbf] [0xde,0xf3,0x00,0x8f]
# CHECK-THUMB: eret
# CHECK-THUMB: ereteq
# CHECK-THUMB: eretne
# CHECK-THUMB: ereths
# CHECK-THUMB: eretlo
# CHECK-THUMB: eretmi
# CHECK-THUMB: eretpl
# CHECK-THUMB: eretvs
# CHECK-THUMB: eretvc
# CHECK-THUMB: erethi
# CHECK-THUMB: eretls
# CHECK-THUMB: eretge
# CHECK-THUMB: eretlt
# CHECK-THUMB: eretgt
# CHECK-THUMB: eretle
# CHECK-NOVIRT: subs pc, lr, #0
# CHECK-NOVIRT: subseq pc, lr, #0
# CHECK-NOVIRT: subsne pc, lr, #0
# CHECK-NOVIRT: subshs pc, lr, #0
# CHECK-NOVIRT: subslo pc, lr, #0
# CHECK-NOVIRT: subsmi pc, lr, #0
# CHECK-NOVIRT: subspl pc, lr, #0
# CHECK-NOVIRT: subsvs pc, lr, #0
# CHECK-NOVIRT: subsvc pc, lr, #0
# CHECK-NOVIRT: subshi pc, lr, #0
# CHECK-NOVIRT: subsls pc, lr, #0
# CHECK-NOVIRT: subsge pc, lr, #0
# CHECK-NOVIRT: subslt pc, lr, #0
# CHECK-NOVIRT: subsgt pc, lr, #0
# CHECK-NOVIRT: subsle pc, lr, #0