Skip to contentSkip to conversation

lm32: rename raise opcode to scall

PATCH Applied Michael Walle 2 participants 2 messages Mar 7, 2011 – Mar 31, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lm32: rename raise opcode to scall

To be consistent with the new reference manual.

---
 target-lm32/lm32-decode.h |    2 +-
 target-lm32/translate.c   |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
target-lm32/lm32-decode.h +1 -1
index f745b39..42205d9 100644
@@ -60,7 +60,7 @@
 #define DEC_NOR     {B8(00000001), B8(00011111)}
 #define DEC_OR      {B8(00001110), B8(00011111)}
 #define DEC_ORHI    {B8(00011110), B8(00111111)}
-#define DEC_RAISE   {B8(00101011), B8(00111111)}
+#define DEC_SCALL   {B8(00101011), B8(00111111)}
 #define DEC_RCSR    {B8(00100100), B8(00111111)}
 #define DEC_SB      {B8(00001100), B8(00111111)}
 #define DEC_SEXTB   {B8(00101100), B8(00111111)}
target-lm32/translate.c +2 -2
index 0b0e405..aa08a14 100644
@@ -583,7 +583,7 @@ static void dec_orhi(DisasContext *dc)
     tcg_gen_ori_tl(cpu_R[dc->r1], cpu_R[dc->r0], (dc->imm16 << 16));
 }
 
-static void dec_raise(DisasContext *dc)
+static void dec_scall(DisasContext *dc)
 {
     TCGv t0;
     int l1;
@@ -1002,7 +1002,7 @@ static const DecoderInfo decinfo[] = {
     {DEC_NOR, dec_nor},
     {DEC_OR, dec_or},
     {DEC_ORHI, dec_orhi},
-    {DEC_RAISE, dec_raise},
+    {DEC_SCALL, dec_scall},
     {DEC_RCSR, dec_rcsr},
     {DEC_SB, dec_sb},
     {DEC_SEXTB, dec_sextb},
Signature · 1 line
1.7.2.3
#1 lore raw
Quoted 1 line · Michael Walle

To be consistent with the new reference manual.

Applied this and the decoding table patch. Thanks.

Cheers