[cfe-commits] r168953 - in /cfe/trunk/lib: Basic/Targets.cpp Driver/Tools.cpp

Joey Gouly joey.gouly at arm.com
Fri Nov 30 07:10:36 PST 2012


See r168968 for a test case.


-----Original Message-----
From: cfe-commits-bounces at cs.uiuc.edu
[mailto:cfe-commits-bounces at cs.uiuc.edu] On Behalf Of Rafael EspĂ­ndola
Sent: 30 November 2012 15:00
To: Quentin Colombet
Cc: cfe-commits at cs.uiuc.edu
Subject: Re: [cfe-commits] r168953 - in /cfe/trunk/lib: Basic/Targets.cpp
Driver/Tools.cpp

Can you add a test?

On 29 November 2012 17:58, Quentin Colombet <qcolombet at apple.com> wrote:
> Author: qcolombet
> Date: Thu Nov 29 16:58:40 2012
> New Revision: 168953
>
> URL: http://llvm.org/viewvc/llvm-project?rev=168953&view=rev
> Log: (empty)
>
> Modified:
>     cfe/trunk/lib/Basic/Targets.cpp
>     cfe/trunk/lib/Driver/Tools.cpp
>
> Modified: cfe/trunk/lib/Basic/Targets.cpp
> URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=1689
53&r1=168952&r2=168953&view=diff
>
============================================================================
==
> --- cfe/trunk/lib/Basic/Targets.cpp (original)
> +++ cfe/trunk/lib/Basic/Targets.cpp Thu Nov 29 16:58:40 2012
> @@ -3213,7 +3213,7 @@
>        .Cases("arm1176jz-s", "arm1176jzf-s", "6ZK")
>        .Cases("arm1136jf-s", "mpcorenovfp", "mpcore", "6K")
>        .Cases("arm1156t2-s", "arm1156t2f-s", "6T2")
> -      .Cases("cortex-a8", "cortex-a9", "cortex-a15", "7A")
> +      .Cases("cortex-a5", "cortex-a8", "cortex-a9", "cortex-a15", "7A")
>        .Case("cortex-a9-mp", "7F")
>        .Case("swift", "7S")
>        .Cases("cortex-m3", "cortex-m4", "7M")
>
> Modified: cfe/trunk/lib/Driver/Tools.cpp
> URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=16895
3&r1=168952&r2=168953&view=diff
>
============================================================================
==
> --- cfe/trunk/lib/Driver/Tools.cpp (original)
> +++ cfe/trunk/lib/Driver/Tools.cpp Thu Nov 29 16:58:40 2012
> @@ -471,7 +471,7 @@
>      .Cases("arm1136j-s",  "arm1136jf-s",  "arm1176jz-s", "v6")
>      .Cases("arm1176jzf-s",  "mpcorenovfp",  "mpcore", "v6")
>      .Cases("arm1156t2-s",  "arm1156t2f-s", "v6t2")
> -    .Cases("cortex-a8", "cortex-a9", "cortex-a15", "v7")
> +    .Cases("cortex-a5", "cortex-a8", "cortex-a9", "cortex-a15", "v7")
>      .Case("cortex-m3", "v7m")
>      .Case("cortex-m4", "v7m")
>      .Case("cortex-m0", "v6m")
> @@ -610,7 +610,7 @@
>      CmdArgs.push_back("+neonfp");
>
>      if (CPU != "cortex-a8" && CPU != "cortex-a9" && CPU != "cortex-a9-mp"
&&
> -        CPU != "cortex-a15")
> +        CPU != "cortex-a15" && CPU != "cortex-a5")
>        D.Diag(diag::err_drv_invalid_feature) << "-mfpmath=neon" << CPU;
>
>    } else if (FPMath == "vfp" || FPMath == "vfp2" || FPMath == "vfp3" ||
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
_______________________________________________
cfe-commits mailing list
cfe-commits at cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits








More information about the cfe-commits mailing list