Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MFTB on PPC64 should really be encoded using MFSPR. | Hal Finkel | 2012-08-06 | 1 | -1/+1 |
| | | | | | | | | | | | The MFTB instruction itself is being phased out, and its functionality is provided by MFSPR. According to the ISA docs, using MFSPR works on all known chips except for the 601 (which did not have a timebase register anyway) and the POWER3. Thanks to Adhemerval Zanella for pointing this out! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161346 91177308-0d34-0410-b5e6-96231b3b80d8 | ||||
* | Add readcyclecounter lowering on PPC64. | Hal Finkel | 2012-08-04 | 1 | -0/+15 |
On PPC64, this can be done with a simple TableGen pattern. To enable this, I've added the (otherwise missing) readcyclecounter SDNode definition to TargetSelectionDAG.td. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161302 91177308-0d34-0410-b5e6-96231b3b80d8 |