File: basic-arm-instructions-v8.txt

package info (click to toggle)
swiftlang 6.1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,791,604 kB
  • sloc: cpp: 9,901,740; ansic: 2,201,431; asm: 1,091,827; python: 308,252; objc: 82,166; f90: 80,126; lisp: 38,358; pascal: 25,559; sh: 20,429; ml: 5,058; perl: 4,745; makefile: 4,484; awk: 3,535; javascript: 3,018; xml: 918; fortran: 664; cs: 573; ruby: 396
file content (58 lines) | stat: -rw-r--r-- 919 bytes parent folder | download | duplicates (38)
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
# RUN: llvm-mc -disassemble -triple armv8 -mattr=+db -show-encoding < %s | FileCheck %s

# New v8 ARM instructions

# HLT

0x70 0x00 0x00 0xe1
# CHECK: hlt #0

0x7f 0xff 0x0f 0xe1
# CHECK: hlt #65535

0x59 0xf0 0x7f 0xf5
0x51 0xf0 0x7f 0xf5
0x55 0xf0 0x7f 0xf5
0x5d 0xf0 0x7f 0xf5
# CHECK: dmb ishld
# CHECK: dmb oshld
# CHECK: dmb nshld
# CHECK: dmb ld

0x05 0xf0 0x20 0xe3
# CHECK: sevl


# These are the only coprocessor instructions that remain defined in ARMv8
# (The operations on p10/p11 disassemble into FP/NEON instructions)

0x10 0x0e 0x00 0xee
# CHECK: mcr p14

0x10 0x0f 0x00 0xee
# CHECK: mcr p15

0x10 0x0e 0x10 0xee
# CHECK: mrc p14

0x10 0x0f 0x10 0xee
# CHECK: mrc p15

0x00 0x0e 0x40 0xec
# CHECK: mcrr p14

0x00 0x0f 0x40 0xec
# CHECK: mcrr p15

0x00 0x0e 0x50 0xec
# CHECK: mrrc p14

0x00 0x0f 0x50 0xec
# CHECK: mrrc p15

0x00 0x0e 0x80 0xec
# CHECK: stc p14

0x00 0x0e 0x90 0xec
# CHECK: ldc p14