projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
RISC-V: Update CSR to privileged spec 1.11.
[deliverable/binutils-gdb.git]
/
gas
/
testsuite
/
gas
/
riscv
/
priv-reg-pseudo.s
1
pseudo_csr_insn:
2
# i-ext
3
csrr t0, 0x0
4
csrw 0x0, t0
5
csrs 0x0, t0
6
csrc 0x0, t0
7
csrwi 0x0, 31
8
csrsi 0x0, 31
9
csrci 0x0, 31
10
11
rdcycle t0
12
rdtime t0
13
rdinstret t0
14
15
# rv32i-ext
16
rdcycleh t0
17
rdtimeh t0
18
rdinstreth t0
19
20
# f-ext
21
frcsr t0 # frsr
22
fscsr t0, t2 # fssr
23
fscsr t2 # fssr
24
frrm t0
25
fsrm t0, t1
26
fsrm t1
27
fsrmi t0, 31
28
fsrmi 31
29
frflags t0
30
fsflags t0, t1
31
fsflags t1
32
fsflagsi t0, 31
33
fsflagsi 31
This page took
0.033703 seconds
and
4
git commands to generate.