projects
/
riscv-isa-sim.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new supervisor mode
[riscv-isa-sim.git]
/
riscv
/
insns
/
clearpcr.h
1
require_supervisor
;
2
reg_t temp
=
get_pcr
(
insn
.
rtype
.
rs1
);
3
set_pcr
(
insn
.
rtype
.
rs1
,
temp
& ~
SIMM
);
4
RD
=
temp
;