[4/5 PATCH/RFC PPC64] add power8 keyword for clang/tools

Hal Finkel hfinkel at anl.gov
Tue Jun 24 16:02:27 PDT 2014


Will,

Please combine this with patch 3 (and the tests in patch 5). LGTM.

 -Hal

----- Original Message -----
> From: "Will Schmidt" <will_schmidt at vnet.ibm.com>
> To: "clang-dev Developers" <cfe-dev at cs.uiuc.edu>, "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu>
> Cc: "Will Schmidt" <willschm at us.ibm.com>, "Hal Finkel" <hfinkel at anl.gov>, "Ulrich Weigand"
> <ulrich.weigand at de.ibm.com>, "William J. Schmidt" <wschmidt at linux.vnet.ibm.com>
> Sent: Tuesday, June 24, 2014 4:44:10 PM
> Subject: [4/5 PATCH/RFC PPC64] add power8 keyword for clang/tools
> 
> Add power8/pwr8 to clang/tools
> 
> 
> diff --git a/tools/clang/lib/Driver/Tools.cpp
> b/tools/clang/lib/Driver/Tools.cpp
> index de03ce6..d353069 100644
> --- a/tools/clang/lib/Driver/Tools.cpp
> +++ b/tools/clang/lib/Driver/Tools.cpp
> @@ -1156,6 +1156,7 @@ static std::string getPPCTargetCPU(const
> ArgList
> &Args) {
>        .Case("power6", "pwr6")
>        .Case("power6x", "pwr6x")
>        .Case("power7", "pwr7")
> +      .Case("power8", "pwr8")
>        .Case("pwr3", "pwr3")
>        .Case("pwr4", "pwr4")
>        .Case("pwr5", "pwr5")
> @@ -1163,6 +1164,7 @@ static std::string getPPCTargetCPU(const
> ArgList
> &Args) {
>        .Case("pwr6", "pwr6")
>        .Case("pwr6x", "pwr6x")
>        .Case("pwr7", "pwr7")
> +      .Case("pwr8", "pwr8")
>        .Case("powerpc", "ppc")
>        .Case("powerpc64", "ppc64")
>        .Case("powerpc64le", "ppc64le")
> 
> 
> 

-- 
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory



More information about the cfe-commits mailing list