aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-04-29 16:09:38 +0100
committerNick Clifton <nickc@redhat.com>2020-04-29 16:09:38 +0100
commit9654d51a96ebe9ea1b2191afd47e1f3306317d2b (patch)
tree3b5d996e5daf57422c723b99d6f71e4d441ec2dd /opcodes
parent1b513401599fc5c35a3a8ad0321e0b00a0bdb0f8 (diff)
downloadgdb-9654d51a96ebe9ea1b2191afd47e1f3306317d2b.zip
gdb-9654d51a96ebe9ea1b2191afd47e1f3306317d2b.tar.gz
gdb-9654d51a96ebe9ea1b2191afd47e1f3306317d2b.tar.bz2
Also use unsigned 8-bit immediate values for the LDRC and SETRC insns.
PR 22699 * sh-opc.h: Also use unsigned 8-bit immediate values for the LDRC and SETRC insns.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog6
-rw-r--r--opcodes/sh-opc.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index b14f2be..7ca88e5 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,11 @@
2020-04-29 Nick Clifton <nickc@redhat.com>
+ PR 22699
+ * sh-opc.h: Also use unsigned 8-bit immediate values for the LDRC
+ and SETRC insns.
+
+2020-04-29 Nick Clifton <nickc@redhat.com>
+
* po/sv.po: Updated Swedish translation.
2020-04-29 Nick Clifton <nickc@redhat.com>
diff --git a/opcodes/sh-opc.h b/opcodes/sh-opc.h
index cd9d2c2..36eba46 100644
--- a/opcodes/sh-opc.h
+++ b/opcodes/sh-opc.h
@@ -505,7 +505,7 @@ const sh_opcode_info sh_table[] =
/* 0100nnnn1xxx0111 ldc.l @<REG_N>+,Rn_BANK */{"ldc.l",{A_INC_N,A_REG_B},{HEX_4,REG_N,REG_B,HEX_7}, arch_sh3_nommu_up},
/* 0100mmmm00110100 ldrc <REG_M> */{"ldrc",{A_REG_M},{HEX_4,REG_M,HEX_3,HEX_4}, arch_sh4al_dsp_up},
-/* 10001010i8*1.... ldrc #<imm> */{"ldrc",{A_IMM},{HEX_8,HEX_A,IMM0_8S}, arch_sh4al_dsp_up},
+/* 10001010i8*1.... ldrc #<imm> */{"ldrc",{A_IMM},{HEX_8,HEX_A,IMM0_8U}, arch_sh4al_dsp_up},
/* 10001110i8p2.... ldre @(<disp>,PC) */{"ldre",{A_DISP_PC},{HEX_8,HEX_E,PCRELIMM_8BY2}, arch_sh_dsp_up},
@@ -708,7 +708,7 @@ const sh_opcode_info sh_table[] =
/* 0100nnnn00010100 setrc <REG_N> */{"setrc",{A_REG_N},{HEX_4,REG_N,HEX_1,HEX_4}, arch_sh_dsp_up},
-/* 10000010i8*1.... setrc #<imm> */{"setrc",{A_IMM},{HEX_8,HEX_2,IMM0_8S}, arch_sh_dsp_up},
+/* 10000010i8*1.... setrc #<imm> */{"setrc",{A_IMM},{HEX_8,HEX_2,IMM0_8U}, arch_sh_dsp_up},
/* repeat start end <REG_N> */{"repeat",{A_DISP_PC,A_DISP_PC,A_REG_N},{REPEAT,REG_N,HEX_1,HEX_4}, arch_sh_dsp_up},