[pk] various PK cleanups/speedups
authorAndrew Waterman <waterman@s144.Millennium.Berkeley.EDU>
Fri, 5 Nov 2010 23:46:36 +0000 (16:46 -0700)
committerAndrew Waterman <waterman@s144.Millennium.Berkeley.EDU>
Mon, 22 Nov 2010 00:54:33 +0000 (16:54 -0800)
riscv/insns/mfcr.h
riscv/insns/mtcr.h

index 78b71d0605235888319a470711d9ff43cdb4c55f..6209e6f79c1f7717644b9381cda9bbeca8188b0f 100644 (file)
@@ -3,6 +3,7 @@ reg_t val;
 switch(insn.rtype.rs2)
 {
   case 0:
+    require_fp;
     val = fsr;
     break;
 
index 859f3e4c3a3cf5562cc50b97a68043109791f079..22cd4d558978bf1a3d3074de5f0d96a2b2ef1ebb 100644 (file)
@@ -1,6 +1,7 @@
 switch(insn.rtype.rs2)
 {
   case 0:
+    require_fp;
     set_fsr(RS1);
     break;
 }