diff options
Diffstat (limited to 'test/MC/PowerPC/ppc64-encoding-e500.s')
-rw-r--r-- | test/MC/PowerPC/ppc64-encoding-e500.s | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/MC/PowerPC/ppc64-encoding-e500.s b/test/MC/PowerPC/ppc64-encoding-e500.s new file mode 100644 index 0000000..fee91ee --- /dev/null +++ b/test/MC/PowerPC/ppc64-encoding-e500.s @@ -0,0 +1,11 @@ +# RUN: llvm-mc -triple powerpc64-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK-BE %s +# RUN: llvm-mc -triple powerpc64le-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK-LE %s + +# Instructions specific to the e500 / e500mc cores: + +# CHECK-BE: rfdi # encoding: [0x4c,0x00,0x00,0x4e] +# CHECK-LE: rfdi # encoding: [0x4e,0x00,0x00,0x4c] + rfdi +# CHECK-BE: rfmci # encoding: [0x4c,0x00,0x00,0x4c] +# CHECK-LE: rfmci # encoding: [0x4c,0x00,0x00,0x4c] + rfmci |