public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* PATCH: Add MIPS cpu names for gas
@ 2005-05-09 15:20 David Ung
  2005-05-09 16:14 ` Thiemo Seufer
  0 siblings, 1 reply; 5+ messages in thread
From: David Ung @ 2005-05-09 15:20 UTC (permalink / raw)
  To: binutils

Hello,

This patch adds the cpu name for the 24k to gas's cpu_info_table.

David.

Index: ChangeLog
===================================================================
RCS file: /cvs/uberbaum/gas/ChangeLog,v
retrieving revision 1.2529
diff -c -3 -r1.2529 ChangeLog
*** ChangeLog	9 May 2005 14:20:44 -0000	1.2529
--- ChangeLog	9 May 2005 15:08:18 -0000
***************
*** 1,3 ****
--- 1,8 ----
+ 2005-05-09  David Ung  <davidu@mips.com>
+ 
+ 	* config/tc-mips.c (mips_cpu_info_table): Add cpu names m4k, 24k,
+ 	24kc, 24kf and 24kfx under MIPS32 release 2.
+ 
  2005-05-09  H.J. Lu  <hongjiu.lu@intel.com>
  
  	PR 936
cvs diff: Diffing config
Index: config/tc-mips.c
===================================================================
RCS file: /cvs/uberbaum/gas/config/tc-mips.c,v
retrieving revision 1.312
diff -c -3 -r1.312 tc-mips.c
*** config/tc-mips.c	5 May 2005 09:12:59 -0000	1.312
--- config/tc-mips.c	9 May 2005 15:08:23 -0000
***************
*** 13778,13783 ****
--- 13778,13790 ----
    { "4km",            0,      ISA_MIPS32,     CPU_MIPS32 },
    { "4kp",            0,      ISA_MIPS32,     CPU_MIPS32 },
  
+   /* MIPS32 Release 2 */
+   { "m4k",            0,      ISA_MIPS32R2,   CPU_MIPS32R2 },
+   { "24k",            0,      ISA_MIPS32R2,   CPU_MIPS32R2 },
+   { "24kc",           0,      ISA_MIPS32R2,   CPU_MIPS32R2 },
+   { "24kf",           0,      ISA_MIPS32R2,   CPU_MIPS32R2 },
+   { "24kx",           0,      ISA_MIPS32R2,   CPU_MIPS32R2 },
+ 
    /* MIPS 64 */
    { "5kc",            0,      ISA_MIPS64,     CPU_MIPS64 },
    { "20kc",           0,      ISA_MIPS64,     CPU_MIPS64 },


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

* Re: PATCH: Add MIPS cpu names for gas
  2005-05-09 15:20 PATCH: Add MIPS cpu names for gas David Ung
@ 2005-05-09 16:14 ` Thiemo Seufer
  2005-05-09 18:24   ` David Ung
  0 siblings, 1 reply; 5+ messages in thread
From: Thiemo Seufer @ 2005-05-09 16:14 UTC (permalink / raw)
  To: David Ung; +Cc: binutils

David Ung wrote:
> Hello,
> 
> This patch adds the cpu name for the 24k to gas's cpu_info_table.

Is there a plan to add assembler-specific support for these CPUs?

> David.
> 
> Index: ChangeLog
> ===================================================================
> RCS file: /cvs/uberbaum/gas/ChangeLog,v
> retrieving revision 1.2529
> diff -c -3 -r1.2529 ChangeLog
> *** ChangeLog	9 May 2005 14:20:44 -0000	1.2529
> --- ChangeLog	9 May 2005 15:08:18 -0000
> ***************
> *** 1,3 ****
> --- 1,8 ----
> + 2005-05-09  David Ung  <davidu@mips.com>
> + 
> + 	* config/tc-mips.c (mips_cpu_info_table): Add cpu names m4k, 24k,
> + 	24kc, 24kf and 24kfx under MIPS32 release 2.
> + 

As a sidenote, keeping the ChangeLog entry separate from the patch saves
merge conflicts when the ChangeLog had other changes in the meanwhile.


Thiemo

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

* Re: PATCH: Add MIPS cpu names for gas
  2005-05-09 16:14 ` Thiemo Seufer
@ 2005-05-09 18:24   ` David Ung
  2005-05-10 15:10     ` Thiemo Seufer
  0 siblings, 1 reply; 5+ messages in thread
From: David Ung @ 2005-05-09 18:24 UTC (permalink / raw)
  To: Thiemo Seufer; +Cc: binutils

On Mon, 2005-05-09 at 17:57 +0200, Thiemo Seufer wrote:
> David Ung wrote:
> > Hello,
> > 
> > This patch adds the cpu name for the 24k to gas's cpu_info_table.
> 
> Is there a plan to add assembler-specific support for these CPUs?

yes, these will come later.  
I've recently added the 24k pipline description to gcc, and Gcc now
recognises eg -mtune=24k switches and will pass them to the assembler.

David.

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

* Re: PATCH: Add MIPS cpu names for gas
  2005-05-09 18:24   ` David Ung
@ 2005-05-10 15:10     ` Thiemo Seufer
  2005-06-07 12:10       ` Maciej W. Rozycki
  0 siblings, 1 reply; 5+ messages in thread
From: Thiemo Seufer @ 2005-05-10 15:10 UTC (permalink / raw)
  To: David Ung; +Cc: binutils

David Ung wrote:
> On Mon, 2005-05-09 at 17:57 +0200, Thiemo Seufer wrote:
> > David Ung wrote:
> > > Hello,
> > > 
> > > This patch adds the cpu name for the 24k to gas's cpu_info_table.
> > 
> > Is there a plan to add assembler-specific support for these CPUs?
> 
> yes, these will come later.  
> I've recently added the 24k pipline description to gcc, and Gcc now
> recognises eg -mtune=24k switches and will pass them to the assembler.

Oh, the patch is ok then.


Thiemo

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

* Re: PATCH: Add MIPS cpu names for gas
  2005-05-10 15:10     ` Thiemo Seufer
@ 2005-06-07 12:10       ` Maciej W. Rozycki
  0 siblings, 0 replies; 5+ messages in thread
From: Maciej W. Rozycki @ 2005-06-07 12:10 UTC (permalink / raw)
  To: Thiemo Seufer; +Cc: David Ung, binutils

On Tue, 10 May 2005, Thiemo Seufer wrote:

> > > > This patch adds the cpu name for the 24k to gas's cpu_info_table.
> > > 
> > > Is there a plan to add assembler-specific support for these CPUs?
> > 
> > yes, these will come later.  
> > I've recently added the 24k pipline description to gcc, and Gcc now
> > recognises eg -mtune=24k switches and will pass them to the assembler.
> 
> Oh, the patch is ok then.

 I've checked it in on behalf of David.

  Maciej

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

end of thread, other threads:[~2005-06-07 12:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-09 15:20 PATCH: Add MIPS cpu names for gas David Ung
2005-05-09 16:14 ` Thiemo Seufer
2005-05-09 18:24   ` David Ung
2005-05-10 15:10     ` Thiemo Seufer
2005-06-07 12:10       ` Maciej W. Rozycki

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