[xcc,sim] Eliminated slori instruction
authorAndrew Waterman <waterman@ubuntu.(none)>
Mon, 23 Aug 2010 04:25:59 +0000 (21:25 -0700)
committerAndrew Waterman <waterman@ubuntu.(none)>
Mon, 23 Aug 2010 04:25:59 +0000 (21:25 -0700)
the "li" macro in RISC-V assembly isn't as efficient anymore for 64b
constants, and "la" doesn't work for 64b addresses with ".set noat".
But it's worth it to remove an ugly instruction.

riscv/execute.h

index f5b83af9897e27b815646523f0295f4afab007a4..4386742ae3a8e89d9f93bd6bc683951cac49dd28 100644 (file)
@@ -336,11 +336,6 @@ switch((insn.bits >> 0x19) & 0x7f)
     #include "insns/lui.h"
     break;
   }
-  case 0x72:
-  {
-    #include "insns/slori.h"
-    break;
-  }
   case 0x73:
   {
     switch((insn.bits >> 0xc) & 0x7)