* [PATCH ARM] Recognize canonical cpu names
@ 2004-09-01 16:23 Richard Earnshaw
2004-09-01 16:35 ` Richard Earnshaw
0 siblings, 1 reply; 3+ messages in thread
From: Richard Earnshaw @ 2004-09-01 16:23 UTC (permalink / raw)
To: binutils
[-- Attachment #1: Type: text/plain, Size: 343 bytes --]
The canonical name for synthesizable ARM cores is with '-s' at the end
of the name. This patch allows the assembler to recognize that. For
now we also support the old names (without the '-').
R.
2004-09-01 Richard Earnshaw < reanrsha@arm.com>
* tc-arm.c (arm_cpus, arm_fpus): Allow <cpu>-s as well as <cpu>s
for synthesizable cores.
[-- Attachment #2: cpunames-gas.patch --]
[-- Type: text/x-patch, Size: 2168 bytes --]
Index: tc-arm.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-arm.c,v
retrieving revision 1.172
diff -p -r1.172 tc-arm.c
*** tc-arm.c 17 Aug 2004 12:19:56 -0000 1.172
--- tc-arm.c 1 Sep 2004 15:33:55 -0000
*************** static struct arm_cpu_option_table arm_c
*** 13280,13285 ****
--- 13302,13308 ----
{"arm7500fe", ARM_ARCH_V3, FPU_ARCH_FPA},
{"arm7t", ARM_ARCH_V4T, FPU_ARCH_FPA},
{"arm7tdmi", ARM_ARCH_V4T, FPU_ARCH_FPA},
+ {"arm7tdmi-s", ARM_ARCH_V4T, FPU_ARCH_FPA},
{"arm8", ARM_ARCH_V4, FPU_ARCH_FPA},
{"arm810", ARM_ARCH_V4, FPU_ARCH_FPA},
{"strongarm", ARM_ARCH_V4, FPU_ARCH_FPA},
*************** static struct arm_cpu_option_table arm_c
*** 13299,13304 ****
--- 13322,13328 ----
{"arm9e", ARM_ARCH_V5TE, FPU_ARCH_VFP_V2},
{"arm926ej", ARM_ARCH_V5TEJ, FPU_ARCH_VFP_V2},
{"arm926ejs", ARM_ARCH_V5TEJ, FPU_ARCH_VFP_V2},
+ {"arm926ej-s", ARM_ARCH_V5TEJ, FPU_ARCH_VFP_V2},
{"arm946e-r0", ARM_ARCH_V5TExP, FPU_ARCH_VFP_V2},
{"arm946e", ARM_ARCH_V5TE, FPU_ARCH_VFP_V2},
{"arm966e-r0", ARM_ARCH_V5TExP, FPU_ARCH_VFP_V2},
*************** static struct arm_cpu_option_table arm_c
*** 13309,13316 ****
--- 13333,13343 ----
{"arm1020t", ARM_ARCH_V5T, FPU_ARCH_VFP_V1},
{"arm1020e", ARM_ARCH_V5TE, FPU_ARCH_VFP_V2},
{"arm1026ejs", ARM_ARCH_V5TE, FPU_ARCH_VFP_V2},
+ {"arm1026ej-s", ARM_ARCH_V5TE, FPU_ARCH_VFP_V2},
{"arm1136js", ARM_ARCH_V6, FPU_NONE},
+ {"arm1136j-s" ARM_ARCH_V6, FPU_NONE},
{"arm1136jfs", ARM_ARCH_V6, FPU_ARCH_VFP_V2},
+ {"arm1136jf-s", ARM_ARCH_V6, FPU_ARCH_VFP_V2},
/* ??? XSCALE is really an architecture. */
{"xscale", ARM_ARCH_XSCALE, FPU_ARCH_VFP_V2},
/* ??? iwmmxt is not a processor. */
*************** static struct arm_fpu_option_table arm_f
*** 13399,13404 ****
--- 13426,13432 ----
{"arm1020t", FPU_ARCH_VFP_V1},
{"arm1020e", FPU_ARCH_VFP_V2},
{"arm1136jfs", FPU_ARCH_VFP_V2},
+ {"arm1136jf-s", FPU_ARCH_VFP_V2},
{"maverick", FPU_ARCH_MAVERICK},
{NULL, 0}
};
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH ARM] Recognize canonical cpu names
2004-09-01 16:23 [PATCH ARM] Recognize canonical cpu names Richard Earnshaw
@ 2004-09-01 16:35 ` Richard Earnshaw
2004-09-01 17:20 ` Dave Korn
0 siblings, 1 reply; 3+ messages in thread
From: Richard Earnshaw @ 2004-09-01 16:35 UTC (permalink / raw)
To: binutils
[-- Attachment #1: Type: text/plain, Size: 407 bytes --]
On Wed, 2004-09-01 at 17:22, Richard Earnshaw wrote:
> The canonical name for synthesizable ARM cores is with '-s' at the end
> of the name. This patch allows the assembler to recognize that. For
> now we also support the old names (without the '-').
And here's the patch to update the documentation (before somebody shouts
at me :-)
* doc/c-arm.texi (ARM Options): Document canonical names of CPUs.
[-- Attachment #2: cpuname-gasdoc.patch --]
[-- Type: text/x-patch, Size: 1840 bytes --]
Index: doc/c-arm.texi
===================================================================
RCS file: /cvs/src/src/gas/doc/c-arm.texi,v
retrieving revision 1.27
diff -p -r1.27 c-arm.texi
*** doc/c-arm.texi 23 Mar 2004 23:05:52 -0000 1.27
--- doc/c-arm.texi 1 Sep 2004 16:32:31 -0000
*************** recognized:
*** 67,72 ****
--- 67,73 ----
@code{arm7500fe},
@code{arm7t},
@code{arm7tdmi},
+ @code{arm7tdmi-s},
@code{arm8},
@code{arm810},
@code{strongarm},
*************** recognized:
*** 82,88 ****
@code{arm9tdmi},
@code{arm9e},
@code{arm926e},
! @code{arm926ejs},
@code{arm946e-r0},
@code{arm946e},
@code{arm966e-r0},
--- 83,89 ----
@code{arm9tdmi},
@code{arm9e},
@code{arm926e},
! @code{arm926ej-s},
@code{arm946e-r0},
@code{arm946e},
@code{arm966e-r0},
*************** recognized:
*** 92,100 ****
@code{arm1020},
@code{arm1020t},
@code{arm1020e},
! @code{arm1026ejs},
! @code{arm1136js},
! @code{arm1136jfs},
@code{ep9312} (ARM920 with Cirrus Maverick coprocessor),
@code{i80200} (Intel XScale processor)
@code{iwmmxt} (Intel(r) XScale processor with Wireless MMX(tm) technology coprocessor)
--- 93,101 ----
@code{arm1020},
@code{arm1020t},
@code{arm1020e},
! @code{arm1026ej-s},
! @code{arm1136j-s},
! @code{arm1136jf-s},
@code{ep9312} (ARM920 with Cirrus Maverick coprocessor),
@code{i80200} (Intel XScale processor)
@code{iwmmxt} (Intel(r) XScale processor with Wireless MMX(tm) technology coprocessor)
*************** The following format options are recogni
*** 170,176 ****
@code{vfpxd},
@code{arm1020t},
@code{arm1020e},
! @code{arm1136jfs}
and
@code{maverick}.
--- 171,177 ----
@code{vfpxd},
@code{arm1020t},
@code{arm1020e},
! @code{arm1136jf-s}
and
@code{maverick}.
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH ARM] Recognize canonical cpu names
2004-09-01 16:35 ` Richard Earnshaw
@ 2004-09-01 17:20 ` Dave Korn
0 siblings, 0 replies; 3+ messages in thread
From: Dave Korn @ 2004-09-01 17:20 UTC (permalink / raw)
To: 'Richard Earnshaw', binutils
> -----Original Message-----
> From: binutils-owner On Behalf Of Richard Earnshaw
> Sent: 01 September 2004 17:23
> The canonical name for synthesizable ARM cores is with '-s' at the end
> of the name. This patch allows the assembler to recognize that.
> -----Original Message-----
> From: binutils-owner On Behalf Of Richard Earnshaw
> Sent: 01 September 2004 17:36
> And here's the patch to update the documentation (before
> somebody shouts at me :-)
I think we can probably cope with the docs and source being out-of-sync
for a whole 13 mins without suffering any major panic attacks.... :)
cheers,
DaveK
--
Can't think of a witty .sigline today....
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-09-01 17:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-01 16:23 [PATCH ARM] Recognize canonical cpu names Richard Earnshaw
2004-09-01 16:35 ` Richard Earnshaw
2004-09-01 17:20 ` Dave Korn
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).