File: armv8.5a-dataproc.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 (101 lines) | stat: -rw-r--r-- 3,479 bytes parent folder | download | duplicates (25)
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.5a --disassemble < %s | FileCheck %s
# RUN: not llvm-mc -triple aarch64-none-linux-gnu -mattr=-v8.5a --disassemble < %s 2>%t | FileCheck %s --check-prefix=CHECK-NOV85
# RUN: FileCheck %s --check-prefix=CHECK-NOV85-ERROR < %t

# Flag manipulation
[0x3f,0x40,0x00,0xd5]
[0x5f,0x40,0x00,0xd5]

# CHECK: xaflag
# CHECK: axflag

# CHECK-NOV85: msr S0_0_C4_C0_1, xzr
# CHECK-NOV85: msr S0_0_C4_C0_2, xzr

# FP-to-int rounding, scalar
[0x20,0x40,0x28,0x1e]
[0x20,0x40,0x68,0x1e]
[0x62,0x40,0x29,0x1e]
[0x62,0x40,0x69,0x1e]
[0xa4,0xc0,0x28,0x1e]
[0xa4,0xc0,0x68,0x1e]
[0xe6,0xc0,0x29,0x1e]
[0xe6,0xc0,0x69,0x1e]

# CHECK: frint32z s0, s1
# CHECK: frint32z d0, d1
# CHECK: frint64z s2, s3
# CHECK: frint64z d2, d3
# CHECK: frint32x s4, s5
# CHECK: frint32x d4, d5
# CHECK: frint64x s6, s7
# CHECK: frint64x d6, d7

# CHECK-NOV85-ERROR: invalid instruction encoding
# CHECK-NOV85-ERROR-NEXT: [0x20,0x40,0x28,0x1e]
# CHECK-NOV85-ERROR: invalid instruction encoding
# CHECK-NOV85-ERROR-NEXT: [0x20,0x40,0x68,0x1e]
# CHECK-NOV85-ERROR: invalid instruction encoding
# CHECK-NOV85-ERROR-NEXT: [0x62,0x40,0x29,0x1e]
# CHECK-NOV85-ERROR: invalid instruction encoding
# CHECK-NOV85-ERROR-NEXT: [0x62,0x40,0x69,0x1e]
# CHECK-NOV85-ERROR: invalid instruction encoding
# CHECK-NOV85-ERROR-NEXT: [0xa4,0xc0,0x28,0x1e]
# CHECK-NOV85-ERROR: invalid instruction encoding
# CHECK-NOV85-ERROR-NEXT: [0xa4,0xc0,0x68,0x1e]
# CHECK-NOV85-ERROR: invalid instruction encoding
# CHECK-NOV85-ERROR-NEXT: [0xe6,0xc0,0x29,0x1e]
# CHECK-NOV85-ERROR: invalid instruction encoding
# CHECK-NOV85-ERROR-NEXT: [0xe6,0xc0,0x69,0x1e]

# FP-to-int rounding, vector
[0x20,0xe8,0x21,0x0e]
[0x20,0xe8,0x61,0x4e]
[0x20,0xe8,0x21,0x4e]
[0x62,0xf8,0x21,0x0e]
[0x62,0xf8,0x61,0x4e]
[0x62,0xf8,0x21,0x4e]
[0xa4,0xe8,0x21,0x2e]
[0xa4,0xe8,0x61,0x6e]
[0xa4,0xe8,0x21,0x6e]
[0xe6,0xf8,0x21,0x2e]
[0xe6,0xf8,0x61,0x6e]
[0xe6,0xf8,0x21,0x6e]

#CHECK: frint32z v0.2s, v1.2s
#CHECK: frint32z v0.2d, v1.2d
#CHECK: frint32z v0.4s, v1.4s
#CHECK: frint64z v2.2s, v3.2s
#CHECK: frint64z v2.2d, v3.2d
#CHECK: frint64z v2.4s, v3.4s
#CHECK: frint32x v4.2s, v5.2s
#CHECK: frint32x v4.2d, v5.2d
#CHECK: frint32x v4.4s, v5.4s
#CHECK: frint64x v6.2s, v7.2s
#CHECK: frint64x v6.2d, v7.2d
#CHECK: frint64x v6.4s, v7.4s

# CHECK-NOV85-ERROR: invalid instruction encoding
# CHECK-NOV85-ERROR-NEXT: [0x20,0xe8,0x21,0x0e]
# CHECK-NOV85-ERROR: invalid instruction encoding
# CHECK-NOV85-ERROR-NEXT: [0x20,0xe8,0x61,0x4e]
# CHECK-NOV85-ERROR: invalid instruction encoding
# CHECK-NOV85-ERROR-NEXT: [0x20,0xe8,0x21,0x4e]
# CHECK-NOV85-ERROR: invalid instruction encoding
# CHECK-NOV85-ERROR-NEXT: [0x62,0xf8,0x21,0x0e]
# CHECK-NOV85-ERROR: invalid instruction encoding
# CHECK-NOV85-ERROR-NEXT: [0x62,0xf8,0x61,0x4e]
# CHECK-NOV85-ERROR: invalid instruction encoding
# CHECK-NOV85-ERROR-NEXT: [0x62,0xf8,0x21,0x4e]
# CHECK-NOV85-ERROR: invalid instruction encoding
# CHECK-NOV85-ERROR-NEXT: [0xa4,0xe8,0x21,0x2e]
# CHECK-NOV85-ERROR: invalid instruction encoding
# CHECK-NOV85-ERROR-NEXT: [0xa4,0xe8,0x61,0x6e]
# CHECK-NOV85-ERROR: invalid instruction encoding
# CHECK-NOV85-ERROR-NEXT: [0xa4,0xe8,0x21,0x6e]
# CHECK-NOV85-ERROR: invalid instruction encoding
# CHECK-NOV85-ERROR-NEXT: [0xe6,0xf8,0x21,0x2e]
# CHECK-NOV85-ERROR: invalid instruction encoding
# CHECK-NOV85-ERROR-NEXT: [0xe6,0xf8,0x61,0x6e]
# CHECK-NOV85-ERROR: invalid instruction encoding
# CHECK-NOV85-ERROR-NEXT: [0xe6,0xf8,0x21,0x6e]