Should -march=iwmmxt work?
Daniel Jacobowitz
drow@mvista.com
Tue Jul 22 19:45:00 GMT 2003
Right now arm-elf-gcc -march=iwmmxt will try to pass -march=iwmmxt to gas,
which does not recognize it. And the comment in tc-arm.c says:
/* This list should, at a minimum, contain all the architecture names
recognized by GCC. */
static struct arm_arch_option_table arm_archs[] =
So is this patch OK? I'm not sure why -march=xscale defaults to VFP (soft)
and -mcpu=xscale defaults to VFP_V2 (hard, right?), but I maintained
consistency.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
2003-07-22 Daniel Jacobowitz <drow@mvista.com>
* config/tc-arm.c (arm_archs): Add iwmmxt.
Index: gas/config/tc-arm.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-arm.c,v
retrieving revision 1.142
diff -u -p -r1.142 tc-arm.c
--- gas/config/tc-arm.c 13 Jun 2003 15:20:26 -0000 1.142
+++ gas/config/tc-arm.c 22 Jul 2003 19:44:09 -0000
@@ -11891,6 +11891,7 @@ static struct arm_arch_option_table arm_
{"armv5texp", ARM_ARCH_V5TExP, FPU_ARCH_VFP},
{"armv5tej", ARM_ARCH_V5TEJ, FPU_ARCH_VFP},
{"xscale", ARM_ARCH_XSCALE, FPU_ARCH_VFP},
+ {"iwmmxt", ARM_ARCH_IWMMXT, FPU_ARCH_VFP},
{NULL, 0, 0}
};
More information about the Binutils
mailing list