File: colored.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 (48 lines) | stat: -rw-r--r-- 2,141 bytes parent folder | download | duplicates (4)
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
# UNSUPPORTED: system-windows
# RUN: llvm-mc -triple=riscv64 -mattr=+zcmp,+zfa,+v --cdis %s | FileCheck %s --strict-whitespace --match-full-lines -check-prefixes=CHECK,ASM,ABINAME
# RUN: llvm-mc -triple=riscv64 -mattr=+zcmp,+zfa,+v -M numeric --cdis %s | FileCheck %s --strict-whitespace --match-full-lines -check-prefixes=CHECK,ASM,ARCHNAME

# CHECK:	.text
# Registers and immediates
0x03 0xe0 0x40 0x00
# ABINAME-NEXT:	lwu	zero, 4(ra)
# ARCHNAME-NEXT:	lwu	x0, 4(x1)

# Branch targets
0x63 0x00 0xb5 0x04
# ABINAME-NEXT:	beq	a0, a1, 64
# ARCHNAME-NEXT:	beq	x10, x11, 64

# CSRs
0xf3 0x23 0x10 0xf1
# ABINAME-NEXT:	csrr	t2, mvendorid
# ARCHNAME-NEXT:	csrr	x7, mvendorid

# FP immediates
0xd3 0x00 0x1f 0xf0
# ABINAME-NEXT:	fli.s	ft1, inf
# ARCHNAME-NEXT:	fli.s	f1, inf
0xd3 0x80 0x1e 0xf0
# ABINAME-NEXT:	fli.s	ft1, 65536.0
# ARCHNAME-NEXT:	fli.s	f1, 65536.0

# Rlist and spimm
0x42 0xbe
# ABINAME-NEXT:	cm.popret	{ra}, 16
# ARCHNAME-NEXT:	cm.popret	{x1}, 16
0x5e 0xbe
# ABINAME-NEXT:	cm.popret	{ra, s0}, 64
# ARCHNAME-NEXT:	cm.popret	{x1, x8}, 64
0x62 0xbe
# ABINAME-NEXT:	cm.popret	{ra, s0-s1}, 32
# ARCHNAME-NEXT:	cm.popret	{x1, x8-x9}, 32
0x76 0xbe
# ABINAME-NEXT:	cm.popret	{ra, s0-s2}, 48
# ARCHNAME-NEXT:	cm.popret	{x1, x8-x9, x18}, 48
0xfe 0xbe
# ABINAME-NEXT:	cm.popret	{ra, s0-s11}, 160
# ARCHNAME-NEXT:	cm.popret	{x1, x8-x9, x18-x27}, 160

# mask registers
0x57 0x04 0x4a 0x00
# ASM-NEXT:	vadd.vv	v8, v4, v20, v0.t