projects
/
riscv-isa-sim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[xcc] minor performance tweaks
[riscv-isa-sim.git]
/
riscv
/
insns
/
mtpcr.h
diff --git
a/riscv/insns/mtpcr.h
b/riscv/insns/mtpcr.h
index f47781f9810a49421ebde2c36340eb0c36bc5225..46fbfdb23375ecd01955678a68a18adf178d6722 100644
(file)
--- a/
riscv/insns/mtpcr.h
+++ b/
riscv/insns/mtpcr.h
@@
-19,10
+19,19
@@
switch(insn.rtype.rs2)
compare = RS1;
break;
+ case 7:
+ sim->send_ipi(RS1);
+ break;
+
case 9:
mmu.set_ptbr(RS1);
break;
+ case 11:
+ vecbanks = RS1 & 0xff;
+ vecbanks_count = __builtin_popcountll(vecbanks);
+ break;
+
case 16:
tohost = RS1;
sim->set_tohost(RS1);