File: thumb2-preloads.txt

package info (click to toggle)
llvm-toolchain-11 1%3A11.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 995,808 kB
  • sloc: cpp: 4,767,656; ansic: 760,916; asm: 477,436; python: 170,940; objc: 69,804; lisp: 29,914; sh: 23,855; f90: 18,173; pascal: 7,551; perl: 7,471; ml: 5,603; awk: 3,489; makefile: 2,573; xml: 915; cs: 573; fortran: 503; javascript: 452
file content (69 lines) | stat: -rw-r--r-- 2,399 bytes parent folder | download | duplicates (35)
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
62
63
64
65
66
67
68
69
# RUN: not llvm-mc -triple=thumbv6t2-none-eabi -disassemble            < %s 2>/dev/null | FileCheck %s --check-prefix=V6T2
# RUN: not llvm-mc -triple=thumbv7a-none-eabi  -disassemble -mattr=-mp < %s 2>/dev/null | FileCheck %s --check-prefix=V6T2 --check-prefix=V7
# RUN:     llvm-mc -triple=thumbv7a-none-eabi  -disassemble -mattr=+mp < %s 2>/dev/null | FileCheck %s --check-prefix=V6T2 --check-prefix=V7 --check-prefix=MP
# RUN: not llvm-mc -triple=thumbv7m-none-eabi  -disassemble            < %s 2>/dev/null | FileCheck %s --check-prefix=V6T2 --check-prefix=V7

# RUN: not llvm-mc -triple=thumbv6t2-none-eabi -disassemble            < %s 2>&1 >/dev/null | FileCheck %s --check-prefix=MP-ERR --check-prefix=V7-ERR
# RUN: not llvm-mc -triple=thumbv7a-none-eabi  -disassemble -mattr=-mp < %s 2>&1 >/dev/null | FileCheck %s --check-prefix=MP-ERR
# RUN:     llvm-mc -triple=thumbv7a-none-eabi  -disassemble -mattr=+mp < %s 2>&1 >/dev/null
# RUN: not llvm-mc -triple=thumbv7m-none-eabi  -disassemble            < %s 2>&1 >/dev/null | FileCheck %s --check-prefix=MP-ERR

# V6T2: pld     [r1, #3]
[0x91,0xf8,0x03,0xf0]

# V6T2: pld     [r2, #-5]
[0x12,0xf8,0x05,0xfc]

# MP: pldw    [r3, #4]
# MP-ERR: invalid instruction encoding
# MP-ERR-NEXT: [0xb3,0xf8,0x04,0xf0]
[0xb3,0xf8,0x04,0xf0]

# MP: pldw    [r4, #-6]
# MP-ERR: invalid instruction encoding
# MP-ERR-NEXT: [0x34,0xf8,0x06,0xfc]
[0x34,0xf8,0x06,0xfc]

# V6T2: pld     [pc, #8]
[0x9f,0xf8,0x08,0xf0]

# V6T2: pld     [pc, #-5]
[0x1f,0xf8,0x05,0xf0]

# V6T2: pld     [r5, r6]
[0x15,0xf8,0x06,0xf0]

# V6T2: pld     [r7, r8, lsl #1]
[0x17,0xf8,0x18,0xf0]

# MP: pldw    [r9, r10]
# MP-ERR: invalid instruction encoding
# MP-ERR-NEXT: [0x39,0xf8,0x0a,0xf0]
[0x39,0xf8,0x0a,0xf0]

# MP: pldw    [r11, r12, lsl #2]
# MP-ERR: invalid instruction encoding
# MP-ERR-NEXT: [0x3b,0xf8,0x2c,0xf0]
[0x3b,0xf8,0x2c,0xf0]

# V7: pli     [r1, #10]
# V7-ERR: invalid instruction encoding
# V7-ERR-NEXT: [0x91,0xf9,0x0a,0xf0]
[0x91,0xf9,0x0a,0xf0]

# V7: pli     [r2, #-3]
# V7-ERR: invalid instruction encoding
# V7-ERR-NEXT: [0x12,0xf9,0x03,0xfc]
[0x12,0xf9,0x03,0xfc]

# V7: pli     [pc, #6]
# V7-ERR: invalid instruction encoding
# V7-ERR-NEXT: [0x9f,0xf9,0x06,0xf0]
[0x9f,0xf9,0x06,0xf0]

# V7: pli     [pc, #-8]
# V7-ERR: invalid instruction encoding
# V7-ERR-NEXT: [0x1f,0xf9,0x08,0xf0]
[0x1f,0xf9,0x08,0xf0]

# NO-ERR-NOT: invalid instruction encoding