public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Support missing SPARC ASIs from UA2005, UA2007, OSA2011, & OSA2015.
@ 2017-03-24 13:15 Sheldon Lobo
  0 siblings, 0 replies; 2+ messages in thread
From: Sheldon Lobo @ 2017-03-24 13:15 UTC (permalink / raw)
  To: binutils

This has been tested with sparc64-linux-gnu, and it does not introduce any
regressions.

gas/ChangeLog:

	Add support for missing SPARC ASIs from UA2005, UA2007, OSA2011, &
	OSA2015.
	* opcodes/sparc-opc.c (asi_table): New ASIs.
---
 opcodes/sparc-opc.c |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/opcodes/sparc-opc.c b/opcodes/sparc-opc.c
index 2473de5..c302d83 100644
--- a/opcodes/sparc-opc.c
+++ b/opcodes/sparc-opc.c
@@ -2420,6 +2420,34 @@ static sparc_asi asi_table[] =
   { 0xE3, "#ASI_TWINX_S", v9c },
   { 0xEA, "#ASI_TWINX_PL", v9c },
   { 0xEB, "#ASI_TWINX_SL", v9c },
+  /* These are ASIs from UA2005, UA2007, OSA2011, & OSA 2015 */
+  { 0x12, "#ASI_MAIUP", v9m },
+  { 0x13, "#ASI_MAIUS", v9m },
+  { 0x14, "#ASI_REAL", v9c },
+  { 0x15, "#ASI_REAL_IO", v9c },
+  { 0x1c, "#ASI_REAL_L", v9c },
+  { 0x1d, "#ASI_REAL_IO_L", v9c },
+  { 0x30, "#ASI_AIPP", v9d },
+  { 0x31, "#ASI_AIPS", v9d },
+  { 0x36, "#ASI_AIPN", v9d },
+  { 0x38, "#ASI_AIPP_L", v9d },
+  { 0x39, "#ASI_AIPS_L", v9d },
+  { 0x3e, "#ASI_AIPN_L", v9d },
+  { 0x42, "#ASI_INST_MASK_REG", v9d },
+  { 0x42, "#ASI_LSU_DIAG_REG", v9d },
+  { 0x43, "#ASI_ERROR_INJECT_REG", v9d },
+  { 0x48, "#ASI_IRF_ECC_REG", v9d },
+  { 0x49, "#ASI_FRF_ECC_REG", v9d },
+  { 0x4e, "#ASI_SPARC_PWR_MGMT", v9d },
+  { 0x4f, "#ASI_HYP_SCRATCHPAD", v9c },
+  { 0x59, "#ASI_SCRATCHPAD_ACCESS", v9d },
+  { 0x5a, "#ASI_TICK_ACCESS", v9d },
+  { 0x5b, "#ASI_TSA_ACCESS", v9d },
+  { 0xb0, "#ASI_PIC", v9e },
+  { 0xf2, "#ASI_STBI_PM", v9e },
+  { 0xf3, "#ASI_STBI_SM", v9e },
+  { 0xfa, "#ASI_STBI_PLM", v9e },
+  { 0xfb, "#ASI_STBI_SLM", v9e },
   { 0, 0, 0 }
 };
 
-- 
1.7.1

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

* Re: [PATCH] Support missing SPARC ASIs from UA2005, UA2007, OSA2011, & OSA2015.
       [not found] <1490278628-394476-1-git-send-email-sheldon.lobo@oracle.com>
@ 2017-03-29 19:22 ` Jose E. Marchesi
  0 siblings, 0 replies; 2+ messages in thread
From: Jose E. Marchesi @ 2017-03-29 19:22 UTC (permalink / raw)
  To: Sheldon Lobo; +Cc: binutils


Just applied this change on your behalf.
Thanks!

    This has been tested with sparc64-linux-gnu, and it does not introduce any
    regressions.
    
    gas/ChangeLog:
    
    	Add support for missing SPARC ASIs from UA2005, UA2007, OSA2011, &
    	OSA2015.
    	* opcodes/sparc-opc.c (asi_table): New ASIs.
    ---
     opcodes/sparc-opc.c |   28 ++++++++++++++++++++++++++++
     1 files changed, 28 insertions(+), 0 deletions(-)
    
    diff --git a/opcodes/sparc-opc.c b/opcodes/sparc-opc.c
    index 2473de5..c302d83 100644
    --- a/opcodes/sparc-opc.c
    +++ b/opcodes/sparc-opc.c
    @@ -2420,6 +2420,34 @@ static sparc_asi asi_table[] =
       { 0xE3, "#ASI_TWINX_S", v9c },
       { 0xEA, "#ASI_TWINX_PL", v9c },
       { 0xEB, "#ASI_TWINX_SL", v9c },
    +  /* These are ASIs from UA2005, UA2007, OSA2011, & OSA 2015 */
    +  { 0x12, "#ASI_MAIUP", v9m },
    +  { 0x13, "#ASI_MAIUS", v9m },
    +  { 0x14, "#ASI_REAL", v9c },
    +  { 0x15, "#ASI_REAL_IO", v9c },
    +  { 0x1c, "#ASI_REAL_L", v9c },
    +  { 0x1d, "#ASI_REAL_IO_L", v9c },
    +  { 0x30, "#ASI_AIPP", v9d },
    +  { 0x31, "#ASI_AIPS", v9d },
    +  { 0x36, "#ASI_AIPN", v9d },
    +  { 0x38, "#ASI_AIPP_L", v9d },
    +  { 0x39, "#ASI_AIPS_L", v9d },
    +  { 0x3e, "#ASI_AIPN_L", v9d },
    +  { 0x42, "#ASI_INST_MASK_REG", v9d },
    +  { 0x42, "#ASI_LSU_DIAG_REG", v9d },
    +  { 0x43, "#ASI_ERROR_INJECT_REG", v9d },
    +  { 0x48, "#ASI_IRF_ECC_REG", v9d },
    +  { 0x49, "#ASI_FRF_ECC_REG", v9d },
    +  { 0x4e, "#ASI_SPARC_PWR_MGMT", v9d },
    +  { 0x4f, "#ASI_HYP_SCRATCHPAD", v9c },
    +  { 0x59, "#ASI_SCRATCHPAD_ACCESS", v9d },
    +  { 0x5a, "#ASI_TICK_ACCESS", v9d },
    +  { 0x5b, "#ASI_TSA_ACCESS", v9d },
    +  { 0xb0, "#ASI_PIC", v9e },
    +  { 0xf2, "#ASI_STBI_PM", v9e },
    +  { 0xf3, "#ASI_STBI_SM", v9e },
    +  { 0xfa, "#ASI_STBI_PLM", v9e },
    +  { 0xfb, "#ASI_STBI_SLM", v9e },
       { 0, 0, 0 }
     };

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

end of thread, other threads:[~2017-03-29 19:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-24 13:15 [PATCH] Support missing SPARC ASIs from UA2005, UA2007, OSA2011, & OSA2015 Sheldon Lobo
     [not found] <1490278628-394476-1-git-send-email-sheldon.lobo@oracle.com>
2017-03-29 19:22 ` Jose E. Marchesi

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).