[2/5 PATCH/RFC PPC64] add power8 keyword to host

Hal Finkel hfinkel at anl.gov
Tue Jun 24 15:59:32 PDT 2014


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:43:32 PM
> Subject: [2/5 PATCH/RFC PPC64] add power8 keyword to host
> 
> Add Power8 and Power8E keywords to Host.cpp, both mapping to pwr8.
> 
> 
> 
> diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp
> index 03187e9..e2dd6d5 100644
> --- a/lib/Support/Host.cpp
> +++ b/lib/Support/Host.cpp
> @@ -570,6 +570,8 @@ StringRef sys::getHostCPUName() {
>      .Case("A2", "a2")
>      .Case("POWER6", "pwr6")
>      .Case("POWER7", "pwr7")
> +    .Case("POWER8", "pwr8")
> +    .Case("POWER8E", "pwr8")
>      .Default(generic);
>  }
>  #elif defined(__linux__) && defined(__arm__)
> 
> 
> 

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



More information about the llvm-commits mailing list