Looks OK to me, but I don't have any Cortex-M3 docs to confirm the
choice of v7-A without NEON.
deep
On Sun, Nov 22, 2009 at 9:47 PM, Bagel <bagel99 at gmail.com>
wrote:> Here is a one-line patch to support the cortex-m3.
> For those who plan the features for ARM, the new cortex-m0 implements only
a
> subset of the Thumb2 instructions. I still have yet to see a document that
> details what's in the subset.
>
>
> Index: ARM.td
> ==================================================================> ---
ARM.td (revision 89605)
> +++ ARM.td (working copy)
> @@ -106,6 +106,7 @@
> def : Processor<"cortex-a8", CortexA8Itineraries,
> [ArchV7A, FeatureThumb2, FeatureNEON]>;
> def : ProcNoItin<"cortex-a9", [ArchV7A, FeatureThumb2,
FeatureNEON]>;
> +def : ProcNoItin<"cortex-m3", [ArchV7A,
FeatureThumb2]>;
>
>
//===----------------------------------------------------------------------===//
> // Register File Description
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>