File: xtheadcmo-valid.s

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 (94 lines) | stat: -rw-r--r-- 2,761 bytes parent folder | download | duplicates (12)
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
# RUN: llvm-mc %s -triple=riscv32 -mattr=+xtheadcmo -show-encoding \
# RUN:     | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+xtheadcmo < %s \
# RUN:     | llvm-objdump --mattr=+xtheadcmo -d -r - \
# RUN:     | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc %s -triple=riscv64 -mattr=+xtheadcmo -show-encoding \
# RUN:     | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+xtheadcmo < %s \
# RUN:     | llvm-objdump --mattr=+xtheadcmo -d -r - \
# RUN:     | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s

# CHECK-ASM-AND-OBJ: th.dcache.csw a6
# CHECK-ASM: encoding: [0x0b,0x00,0x18,0x02]
th.dcache.csw a6

# CHECK-ASM-AND-OBJ: th.dcache.isw t0
# CHECK-ASM: encoding: [0x0b,0x80,0x22,0x02]
th.dcache.isw t0

# CHECK-ASM-AND-OBJ: th.dcache.cisw a7
# CHECK-ASM: encoding: [0x0b,0x80,0x38,0x02]
th.dcache.cisw a7

# CHECK-ASM-AND-OBJ: th.dcache.cval1 t2
# CHECK-ASM: encoding: [0x0b,0x80,0x43,0x02]
th.dcache.cval1 t2

# CHECK-ASM-AND-OBJ: th.dcache.cva a3
# CHECK-ASM: encoding: [0x0b,0x80,0x56,0x02]
th.dcache.cva a3

# CHECK-ASM-AND-OBJ: th.dcache.iva a5
# CHECK-ASM: encoding: [0x0b,0x80,0x67,0x02]
th.dcache.iva a5

# CHECK-ASM-AND-OBJ: th.dcache.civa a4
# CHECK-ASM: encoding: [0x0b,0x00,0x77,0x02]
th.dcache.civa a4

# CHECK-ASM-AND-OBJ: th.dcache.cpal1 t1
# CHECK-ASM: encoding: [0x0b,0x00,0x83,0x02]
th.dcache.cpal1 t1

# CHECK-ASM-AND-OBJ: th.dcache.cpa a0
# CHECK-ASM: encoding: [0x0b,0x00,0x95,0x02]
th.dcache.cpa a0

# CHECK-ASM-AND-OBJ: th.dcache.ipa a2
# CHECK-ASM: encoding: [0x0b,0x00,0xa6,0x02]
th.dcache.ipa a2

# CHECK-ASM-AND-OBJ: th.dcache.cipa a1
# CHECK-ASM: encoding: [0x0b,0x80,0xb5,0x02]
th.dcache.cipa a1

# CHECK-ASM-AND-OBJ: th.icache.iva t4
# CHECK-ASM: encoding: [0x0b,0x80,0x0e,0x03]
th.icache.iva t4

# CHECK-ASM-AND-OBJ: th.icache.ipa t3
# CHECK-ASM: encoding: [0x0b,0x00,0x8e,0x03]
th.icache.ipa t3

# CHECK-ASM-AND-OBJ: th.dcache.call
# CHECK-ASM: encoding: [0x0b,0x00,0x10,0x00]
th.dcache.call

# CHECK-ASM-AND-OBJ: th.dcache.iall
# CHECK-ASM: encoding: [0x0b,0x00,0x20,0x00]
th.dcache.iall

# CHECK-ASM-AND-OBJ: th.dcache.ciall
# CHECK-ASM: encoding: [0x0b,0x00,0x30,0x00]
th.dcache.ciall

# CHECK-ASM-AND-OBJ: th.icache.iall
# CHECK-ASM: encoding: [0x0b,0x00,0x00,0x01]
th.icache.iall

# CHECK-ASM-AND-OBJ: th.icache.ialls
# CHECK-ASM: encoding: [0x0b,0x00,0x10,0x01]
th.icache.ialls

# CHECK-ASM-AND-OBJ: th.l2cache.call
# CHECK-ASM: encoding: [0x0b,0x00,0x50,0x01]
th.l2cache.call

# CHECK-ASM-AND-OBJ: th.l2cache.iall
# CHECK-ASM: encoding: [0x0b,0x00,0x60,0x01]
th.l2cache.iall

# CHECK-ASM-AND-OBJ: th.l2cache.ciall
# CHECK-ASM: encoding: [0x0b,0x00,0x70,0x01]
th.l2cache.ciall