projects
/
riscv-isa-sim.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Reorganized directory structure
[riscv-isa-sim.git]
/
riscv
/
insns
/
eret.h
1
require_supervisor
;
2
if
(
sr
&
SR_ET
)
3
throw
trap_illegal_instruction
;
4
set_sr
(((
sr
&
SR_PS
) ?
sr
: (
sr
& ~
SR_S
)) |
SR_ET
);
5
npc
=
epc
;