public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] opcodes: Fix the auxiliary register numbers for ARC HS
@ 2021-08-17 15:47 Shahab Vahedi
  2021-08-17 16:17 ` Claudiu Zissulescu
  2021-08-17 16:36 ` [PUSHED] " Shahab Vahedi
  0 siblings, 2 replies; 3+ messages in thread
From: Shahab Vahedi @ 2021-08-17 15:47 UTC (permalink / raw)
  To: binutils; +Cc: Shahab Vahedi, Claudiu Zissulescu

From: Shahab Vahedi <shahab@synopsys.com>

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.
---
 opcodes/arc-regs.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/opcodes/arc-regs.h b/opcodes/arc-regs.h
index f8a27e5ec7b..198c7326342 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)
-- 
2.32.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] opcodes: Fix the auxiliary register numbers for ARC HS
  2021-08-17 15:47 [PATCH] opcodes: Fix the auxiliary register numbers for ARC HS Shahab Vahedi
@ 2021-08-17 16:17 ` Claudiu Zissulescu
  2021-08-17 16:36 ` [PUSHED] " Shahab Vahedi
  1 sibling, 0 replies; 3+ messages in thread
From: Claudiu Zissulescu @ 2021-08-17 16:17 UTC (permalink / raw)
  To: Shahab Vahedi, binutils; +Cc: Shahab Vahedi

Approved,
Thanks for your contribution. You can proceed with committing it.

Claudiu
________________________________
From: Shahab Vahedi <shahab.vahedi@gmail.com>
Sent: Tuesday, August 17, 2021 6:47 PM
To: binutils@sourceware.org <binutils@sourceware.org>
Cc: Shahab Vahedi <shahab@synopsys.com>; Claudiu Zissulescu <claziss@synopsys.com>
Subject: [PATCH] opcodes: Fix the auxiliary register numbers for ARC HS

From: Shahab Vahedi <shahab@synopsys.com>

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.
---
 opcodes/arc-regs.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/opcodes/arc-regs.h b/opcodes/arc-regs.h
index f8a27e5ec7b..198c7326342 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)
--
2.32.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PUSHED] opcodes: Fix the auxiliary register numbers for ARC HS
  2021-08-17 15:47 [PATCH] opcodes: Fix the auxiliary register numbers for ARC HS Shahab Vahedi
  2021-08-17 16:17 ` Claudiu Zissulescu
@ 2021-08-17 16:36 ` Shahab Vahedi
  1 sibling, 0 replies; 3+ messages in thread
From: Shahab Vahedi @ 2021-08-17 16:36 UTC (permalink / raw)
  To: binutils; +Cc: Shahab Vahedi, Claudiu Zissulescu

From: Shahab Vahedi <shahab@synopsys.com>

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.
---
 opcodes/ChangeLog  | 4 ++++
 opcodes/arc-regs.h | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index dc3d0be55f7..d0bfa807691 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 f8a27e5ec7b..198c7326342 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)
-- 
2.32.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-17 16:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-17 15:47 [PATCH] opcodes: Fix the auxiliary register numbers for ARC HS Shahab Vahedi
2021-08-17 16:17 ` Claudiu Zissulescu
2021-08-17 16:36 ` [PUSHED] " Shahab Vahedi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).