[llvm-commits] [llvm] r78200 - in /llvm/trunk/lib/Target/ARM: ARM.td ARMSubtarget.h
Evan Cheng
evan.cheng at apple.com
Wed Aug 5 09:22:12 PDT 2009
Hi David,
Can we disable this until the failures are fixed?
Thanks,
Evan
On Aug 5, 2009, at 9:01 AM, David Goodwin wrote:
> Author: david_goodwin
> Date: Wed Aug 5 11:01:19 2009
> New Revision: 78200
>
> URL: http://llvm.org/viewvc/llvm-project?rev=78200&view=rev
> Log:
> By default, for cortex-a8 use NEON for single-precision FP.
>
> Modified:
> llvm/trunk/lib/Target/ARM/ARM.td
> llvm/trunk/lib/Target/ARM/ARMSubtarget.h
>
> Modified: llvm/trunk/lib/Target/ARM/ARM.td
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARM.td?rev=78200&r1=78199&r2=78200&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm/trunk/lib/Target/ARM/ARM.td (original)
> +++ llvm/trunk/lib/Target/ARM/ARM.td Wed Aug 5 11:01:19 2009
> @@ -32,9 +32,6 @@
> "ARM v6t2">;
> def ArchV7A : SubtargetFeature<"v7a", "ARMArchVersion", "V7A",
> "ARM v7A">;
> -def FeatureNEONFP : SubtargetFeature<"neonfp",
> "UseNEONForSinglePrecisionFP",
> - "true",
> - "Use NEON for single-precision
> FP">;
> def FeatureVFP2 : SubtargetFeature<"vfp2", "ARMFPUType", "VFPv2",
> "Enable VFP2 instructions">;
> def FeatureVFP3 : SubtargetFeature<"vfp3", "ARMFPUType", "VFPv3",
> @@ -43,6 +40,9 @@
> "Enable NEON instructions">;
> def FeatureThumb2 : SubtargetFeature<"thumb2", "ThumbMode", "Thumb2",
> "Enable Thumb2 instructions">;
> +def FeatureNEONFP : SubtargetFeature<"neonfp",
> "UseNEONForSinglePrecisionFP",
> + "true",
> + "Use NEON for single-precision
> FP">;
>
> //
> =
> =
> =
> ----------------------------------------------------------------------=
> ==//
> // ARM Processors supported.
> @@ -113,7 +113,7 @@
>
> // V7 Processors.
> def : Processor<"cortex-a8", CortexA8Itineraries,
> - [ArchV7A, FeatureThumb2, FeatureNEON]>;
> + [ArchV7A, FeatureThumb2, FeatureNEON,
> FeatureNEONFP]>;
> def : Processor<"cortex-a9", V7Itineraries,
> [ArchV7A, FeatureThumb2, FeatureNEON]>;
>
>
> Modified: llvm/trunk/lib/Target/ARM/ARMSubtarget.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMSubtarget.h?rev=78200&r1=78199&r2=78200&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm/trunk/lib/Target/ARM/ARMSubtarget.h (original)
> +++ llvm/trunk/lib/Target/ARM/ARMSubtarget.h Wed Aug 5 11:01:19 2009
> @@ -42,7 +42,9 @@
> /// ARMFPUType - Floating Point Unit type.
> ARMFPEnum ARMFPUType;
>
> - /// UseNEONForSinglePrecisionFP - if NEON is available use for FP
> + /// UseNEONForSinglePrecisionFP - if the NEONFP attribute has been
> + /// specified. Use the method useNEONForSinglePrecisionFP() to
> + /// determine if NEON should actually be used.
> bool UseNEONForSinglePrecisionFP;
>
> /// IsThumb - True if we are in thumb mode, false if in ARM mode.
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list