File: armv8.8a-nmi.txt

package info (click to toggle)
swiftlang 6.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,519,992 kB
  • sloc: cpp: 9,107,863; ansic: 2,040,022; asm: 1,135,751; python: 296,500; objc: 82,456; f90: 60,502; lisp: 34,951; pascal: 19,946; sh: 18,133; perl: 7,482; ml: 4,937; javascript: 4,117; makefile: 3,840; awk: 3,535; xml: 914; fortran: 619; cs: 573; ruby: 573
file content (30 lines) | stat: -rw-r--r-- 870 bytes parent folder | download | duplicates (14)
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
# RUN: llvm-mc -triple=aarch64 -mattr=+nmi   -disassemble %s | FileCheck %s
# RUN: llvm-mc -triple=aarch64 -mattr=+v8.8a -disassemble %s | FileCheck %s
# RUN: llvm-mc -triple=aarch64               -disassemble %s | FileCheck %s --check-prefix=NO-NMI


[0x03,0x43,0x38,0xd5]
# CHECK:  mrs x3, ALLINT
# NO-NMI: mrs x3, S3_0_C4_C3_0

[0x06,0x43,0x18,0xd5]
# CHECK:  msr ALLINT, x6
# NO-NMI: msr S3_0_C4_C3_0, x6

[0x1f,0x40,0x01,0xd5]
# CHECK:  msr ALLINT, #0
# NO-NMI: msr S0_1_C4_C0_0, xzr

[0x1f,0x41,0x01,0xd5]
# CHECK:  msr ALLINT, #1
# NO-NMI: msr S0_1_C4_C1_0, xzr

# Regression test for a defect, where the bit-pattern, which should have allowed
# only ALLSTATE, allowed SPSel (and others).
[0xbf,0x51,0x00,0xd5]
# CHECK:  msr S0_0_C5_C1_5, xzr
# NO-NMI: msr S0_0_C5_C1_5, xzr

[0xa7,0xc9,0x38,0xd5]
# CHECK:  mrs x7, ICC_NMIAR1_EL1
# NO-NMI: mrs x7, S3_0_C12_C9_5