[csl-arm] Armv7
Paul Brook
paul@codesourcery.com
Fri Feb 24 16:05:00 GMT 2006
The attached patch implements basic Armv7 support.
Tested with cross to arm-none-eabi.
Applied to branches/csl/arm-4_1.
Paul
2006-02-24 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (FL_NOTM, FL_DIV, FL_FOR_ARCH7, FL_FOR_ARCH7A,
FL_FOR_ARCH7R, FL_FOR_ARCH7M): New defines.
(arm_arch_notm): New variable.
(arm_override_options): Check if CPU supports ARM mode.
Set arm_arch_notm.
* config/arm/lib1funcs.asm: Recognise V7 architecture variants.
* config/arm/arm.h (TARGET_DSP_MULTIPLY, TARGET_INT_SIMD): Define.
(arm_arch_notm): Declare.
* config/arm/arm-cores.def: Add cortex-a8, cortex-r4 and cortex-m3.
* config/arm/arm-cores.def: Regenerate.
* config/arm/t-arm-elf: Add Armv7 Thumb-2 multilib.
* config/arm/arm.md (mulhisi3, mulhisi3tb, mulhisi3bt, mulhisi3tt,
mulhisi3addsi, mulhidi3adddi): Depend on TARGET_DSP_MULTIPLY.
(arm_zero_extendhisi2addsi, arm_zero_extendqisi2addsi,
arm_extendhisi2addsi, arm_extendqisi2addsi): Depend on
TARGET_INT_SIMD.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.gcc_v7
Type: text/x-diff
Size: 12159 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060224/cf7cbacd/attachment.bin>
More information about the Gcc-patches
mailing list