From d81bcf723e6258361a07ef849d4017901e225bcd Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Sun, 22 Aug 2010 21:25:59 -0700 Subject: [PATCH] [xcc,sim] Eliminated slori instruction 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 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/riscv/execute.h b/riscv/execute.h index f5b83af..4386742 100644 --- a/riscv/execute.h +++ b/riscv/execute.h @@ -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) -- 2.30.2