File: armv8.7a-ls64.txt

package info (click to toggle)
llvm-toolchain-19 1%3A19.1.7-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,998,520 kB
  • sloc: cpp: 6,951,680; ansic: 1,486,157; asm: 913,598; python: 232,024; f90: 80,126; objc: 75,281; lisp: 37,276; pascal: 16,990; sh: 10,009; ml: 5,058; perl: 4,724; awk: 3,523; makefile: 3,167; javascript: 2,504; xml: 892; fortran: 664; cs: 573
file content (38 lines) | stat: -rw-r--r-- 1,375 bytes parent folder | download | duplicates (20)
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
# RUN: not llvm-mc -triple=aarch64 -mattr=+ls64 -disassemble %s 2> %t | FileCheck %s
# RUN: FileCheck --check-prefix=CHECK-ERR %s < %t
# RUN: not llvm-mc -triple=aarch64 -disassemble %s 2> %t | FileCheck --check-prefix=CHECK-NO-LS64 %s
# RUN: FileCheck --check-prefix=CHECK-ERR --check-prefix=CHECK-NO-LS64-ERR %s < %t

[0xa0,0xd1,0x3f,0xf8]
[0xae,0x91,0x3f,0xf8]
[0xb4,0xb1,0x21,0xf8]
[0xb6,0xa1,0x21,0xf8]
# CHECK: ld64b x0, [x13]
# CHECK: st64b x14, [x13]
# CHECK: st64bv x1, x20, [x13]
# CHECK: st64bv0 x1, x22, [x13]
# CHECK-NO-LS64-ERR: [[@LINE-8]]:2: warning: invalid instruction encoding
# CHECK-NO-LS64-ERR: [[@LINE-8]]:2: warning: invalid instruction encoding
# CHECK-NO-LS64-ERR: [[@LINE-8]]:2: warning: invalid instruction encoding
# CHECK-NO-LS64-ERR: [[@LINE-8]]:2: warning: invalid instruction encoding

[0xe0,0xd3,0x3f,0xf8]
[0xee,0x93,0x3f,0xf8]
[0xf4,0xb3,0x21,0xf8]
[0xf6,0xa3,0x21,0xf8]
# CHECK: ld64b x0, [sp]
# CHECK: st64b x14, [sp]
# CHECK: st64bv x1, x20, [sp]
# CHECK: st64bv0 x1, x22, [sp]

[0xb3,0xd1,0x3f,0xf8]
[0xb8,0xd1,0x3f,0xf8]
# CHECK-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
# CHECK-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding

[0xa0,0xd0,0x38,0xd5]
[0xa0,0xd0,0x18,0xd5]
# CHECK: mrs x0, ACCDATA_EL1
# CHECK: msr ACCDATA_EL1, x0
# CHECK-NO-LS64: mrs x0, S3_0_C13_C0_5
# CHECK-NO-LS64: msr S3_0_C13_C0_5, x0