This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
PATCH: Add processor names and types for Alpha.
- From: George France <france at handhelds dot org>
- To: binutils at sources dot redhat dot com
- Date: Tue, 6 Aug 2002 15:00:01 -0400
- Subject: PATCH: Add processor names and types for Alpha.
A trivial patch to add the ev67, ev68, 21264a and 21264b names and processor
types to gas for the Alpha Architecture.
I suppose that the gas/po files should be regenerated to reflect the changes, but I am
not certain of the correct procedure.
Best Regards,
--George
P.S. - Before somebody asks: yes I have a FSF assignment number. If you need the
details please e-mail John.Goshdigian@hp.com
Index: gas/ChangeLog
===================================================================
RCS file: /cvs/src/src/gas/ChangeLog,v
retrieving revision 1.1440
diff -u -p -r1.1440 ChangeLog
--- gas/ChangeLog 6 Aug 2002 02:30:05 -0000 1.1440
+++ gas/ChangeLog 6 Aug 2002 18:27:07 -0000
@@ -1,3 +1,9 @@
+2002-08-06 George France <france@handhelds.org>
+
+ * config/tc-alpha.c (cpu_types): Enabled ev67, ev68, -m21264a
+ and m21264b processor names and cpu types.
+ * doc/c-alpha.texi: Documented new types.
+
2002-08-06 Alan Modra <amodra@bigpond.net.au>
* config/tc-ppc.c (md_apply_fix3): Adjust 16 bit XCOFF reloc offset.
Index: gas/config/tc-alpha.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-alpha.c,v
retrieving revision 1.44
diff -u -p -r1.44 tc-alpha.c
--- gas/config/tc-alpha.c 2 Jun 2002 08:36:10 -0000 1.44
+++ gas/config/tc-alpha.c 6 Aug 2002 18:27:09 -0000
@@ -576,6 +576,10 @@ static const struct cpu_type {
|AXP_OPCODE_MAX) },
{ "21264", (AXP_OPCODE_BASE|AXP_OPCODE_EV6|AXP_OPCODE_BWX
|AXP_OPCODE_MAX|AXP_OPCODE_CIX) },
+ { "21264a", (AXP_OPCODE_BASE|AXP_OPCODE_EV6|AXP_OPCODE_BWX
+ |AXP_OPCODE_MAX|AXP_OPCODE_CIX) },
+ { "21264b", (AXP_OPCODE_BASE|AXP_OPCODE_EV6|AXP_OPCODE_BWX
+ |AXP_OPCODE_MAX|AXP_OPCODE_CIX) },
{ "ev4", AXP_OPCODE_BASE },
{ "ev45", AXP_OPCODE_BASE },
@@ -584,6 +588,8 @@ static const struct cpu_type {
{ "ev56", AXP_OPCODE_BASE|AXP_OPCODE_BWX },
{ "pca56", AXP_OPCODE_BASE|AXP_OPCODE_BWX|AXP_OPCODE_MAX },
{ "ev6", AXP_OPCODE_BASE|AXP_OPCODE_BWX|AXP_OPCODE_MAX|AXP_OPCODE_CIX },
+ { "ev67", AXP_OPCODE_BASE|AXP_OPCODE_BWX|AXP_OPCODE_MAX|AXP_OPCODE_CIX },
+ { "ev68", AXP_OPCODE_BASE|AXP_OPCODE_BWX|AXP_OPCODE_MAX|AXP_OPCODE_CIX },
{ "all", AXP_OPCODE_BASE },
{ 0, 0 }
@@ -1102,9 +1108,9 @@ md_show_usage (stream)
Alpha options:\n\
-32addr treat addresses as 32-bit values\n\
-F lack floating point instructions support\n\
--mev4 | -mev45 | -mev5 | -mev56 | -mpca56 | -mev6 | -mall\n\
+-mev4 | -mev45 | -mev5 | -mev56 | -mpca56 | -mev6 | -mev67 | -mev68 | -mall\n\
specify variant of Alpha architecture\n\
--m21064 | -m21066 | -m21164 | -m21164a | -m21164pc | -m21264\n\
+-m21064 | -m21066 | -m21164 | -m21164a | -m21164pc | -m21264 | -m21264a | -m21264b\n\
these variants include PALcode opcodes\n"),
stream);
#ifdef OBJ_EVAX
Index: gas/doc/c-alpha.texi
===================================================================
RCS file: /cvs/src/src/gas/doc/c-alpha.texi,v
retrieving revision 1.2
diff -u -p -r1.2 c-alpha.texi
--- gas/doc/c-alpha.texi 30 May 2002 22:34:41 -0000 1.2
+++ gas/doc/c-alpha.texi 6 Aug 2002 18:27:09 -0000
@@ -55,13 +55,17 @@ The following processor names are recogn
@code{21164a},
@code{21164pc},
@code{21264},
+@code{21264a},
+@code{21264b},
@code{ev4},
@code{ev5},
@code{lca45},
@code{ev5},
@code{ev56},
@code{pca56},
-@code{ev6}.
+@code{ev6},
+@code{ev67},
+@code{ev68}.
The special name @code{all} may be used to allow the assembler to accept
instructions valid for any Alpha processor.