diff options
| author | Chuang-Yu Cheng <cycheng@multicorewareinc.com> | 2016-04-06 01:47:02 +0000 |
|---|---|---|
| committer | Chuang-Yu Cheng <cycheng@multicorewareinc.com> | 2016-04-06 01:47:02 +0000 |
| commit | 024a623c5599bd11839939dfed0eeecbc389201e (patch) | |
| tree | 18d437143f33d3e35eb7128eea65234527d99caf /llvm/test/MC/PowerPC/ppc64-encoding-ext.s | |
| parent | eaf4b3d75ca523b19b4da1a329775ae988633c07 (diff) | |
| download | bcm5719-llvm-024a623c5599bd11839939dfed0eeecbc389201e.tar.gz bcm5719-llvm-024a623c5599bd11839939dfed0eeecbc389201e.zip | |
[Power9] Implement add-pc, multiply-add, modulo, extend-sign-shift, random number, set bool, and dfp test significance
This patch implement the following instructions:
- addpcis subpcis
- maddhd maddhdu maddld
- modsw moduw modsd modud
- darn
- extswsli extswsli.
- setb
- dtstsfi dtstsfiq
Total 15 instructions
Reviewers: nemanjai hfinkel tjablin amehsan kbarton
http://reviews.llvm.org/D17885
llvm-svn: 265505
Diffstat (limited to 'llvm/test/MC/PowerPC/ppc64-encoding-ext.s')
| -rw-r--r-- | llvm/test/MC/PowerPC/ppc64-encoding-ext.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/MC/PowerPC/ppc64-encoding-ext.s b/llvm/test/MC/PowerPC/ppc64-encoding-ext.s index 682a737547d..228ff2834a6 100644 --- a/llvm/test/MC/PowerPC/ppc64-encoding-ext.s +++ b/llvm/test/MC/PowerPC/ppc64-encoding-ext.s @@ -3666,6 +3666,15 @@ # CHECK-LE: attn # encoding: [0x00,0x02,0x00,0x00] attn +# ISA3.0 Instructions: +# Extended Mnemonics of ADDPCIS +# CHECK-BE: addpcis 1, -12345 # encoding: [0x4c,0x23,0xcf,0xc5] +# CHECK-LE: addpcis 1, -12345 # encoding: [0xc5,0xcf,0x23,0x4c] + subpcis 1, 12345 +# CHECK-BE: addpcis 12, 0 # encoding: [0x4d,0x80,0x00,0x04] +# CHECK-LE: addpcis 12, 0 # encoding: [0x04,0x00,0x80,0x4d] + lnia 12 + # Copy-Paste Facility (Extended Mnemonics): # CHECK-BE: copy 2, 19, 0 # encoding: [0x7c,0x02,0x9e,0x0c] # CHECK-LE: copy 2, 19, 0 # encoding: [0x0c,0x9e,0x02,0x7c] |

