diff options
author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2015-01-14 20:17:10 +0000 |
---|---|---|
committer | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2015-01-14 20:17:10 +0000 |
commit | 11abe69e9857390a035470c20534b8e5ac4d479e (patch) | |
tree | 181a0e011c0a4dca8687ad81a7940cc1540670b5 /lib/CodeGen | |
parent | 0a2caa143f0233bcf1ba04a358f3e21a095035e0 (diff) |
[PPC64] Add support for the ICBT instruction on POWER8.
Patch by Kit Barton.
Support for the ICBT instruction is currently present, but limited to
embedded processors. This change adds a new FeatureICBT that can be used
to identify whether the ICBT instruction is available on a specific processor.
Two new tests are added:
* Positive test to ensure the icbt instruction is present when using
-mcpu=pwr8
* Negative test to ensure the icbt instruction is not generated when
using -mcpu=pwr7
Both test cases use the Prefetch opcode in LLVM. They are based on the
ppc64-prefetch.ll test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226033 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
0 files changed, 0 insertions, 0 deletions