diff options
author | Shahab Vahedi <shahab@synopsys.com> | 2021-08-17 16:39:26 +0200 |
---|---|---|
committer | Shahab Vahedi <shahab@synopsys.com> | 2021-08-17 18:33:05 +0200 |
commit | 5d9cff510e8c04ded28272ef2121d814f5787a57 (patch) | |
tree | 4dc07f168a81e186f565854383b6d6e29a2906cf | |
parent | c0154a4a21a3aed01ef53877af05cf0109a0b124 (diff) | |
download | gdb-5d9cff510e8c04ded28272ef2121d814f5787a57.zip gdb-5d9cff510e8c04ded28272ef2121d814f5787a57.tar.gz gdb-5d9cff510e8c04ded28272ef2121d814f5787a57.tar.bz2 |
opcodes: Fix the auxiliary register numbers for ARC HS
The numbers for the auxiliary registers "tlbindex" and
"tlbcommand" of ARCv2HS are incorrect. This patch makes
the following changes to correct that error.
,------------.-----------------.---------------.
| aux. reg. | old (incorrect) | new (correct) |
|------------+-----------------+---------------|
| tlbindex | 0x463 | 0x464 |
| tlbcommand | 0x464 | 0x465 |
`------------^-----------------^---------------'
opcodes/
2021-08-17 Shahab Vahedi <shahab@synopsys.com>
* arc-regs.h (DEF): Fix the register numbers.
-rw-r--r-- | opcodes/ChangeLog | 4 | ||||
-rw-r--r-- | opcodes/arc-regs.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index dc3d0be..d0bfa80 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2021-08-17 Shahab Vahedi <shahab@synopsys.com> + + * arc-regs.h (DEF): Fix the register numbers. + 2021-08-10 Nick Clifton <nickc@redhat.com> * po/sr.po: Updated Serbian translation. diff --git a/opcodes/arc-regs.h b/opcodes/arc-regs.h index f8a27e5..198c732 100644 --- a/opcodes/arc-regs.h +++ b/opcodes/arc-regs.h @@ -346,8 +346,8 @@ DEF (0x452, ARC_OPCODE_ARC600, NONE, dvfs_performance) DEF (0x453, ARC_OPCODE_ARC600, NONE, pwr_ctrl) DEF (0x460, ARC_OPCODE_ARCv2HS, NONE, tlbpd0) DEF (0x461, ARC_OPCODE_ARCv2HS, NONE, tlbpd1) -DEF (0x463, ARC_OPCODE_ARCv2HS, NONE, tlbindex) -DEF (0x464, ARC_OPCODE_ARCv2HS, NONE, tlbcommand) +DEF (0x464, ARC_OPCODE_ARCv2HS, NONE, tlbindex) +DEF (0x465, ARC_OPCODE_ARCv2HS, NONE, tlbcommand) DEF (0x468, ARC_OPCODE_ARCv2HS, NONE, pid) DEF (0x46c, ARC_OPCODE_ARCv2HS, NONE, scratch_data0) DEF (0x500, ARC_OPCODE_ARC700, NONE, aux_vlc_buf_idx) |