summaryrefslogtreecommitdiffstats
path: root/test/MC/PowerPC/ppc-nop.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/PowerPC/ppc-nop.s')
-rw-r--r--test/MC/PowerPC/ppc-nop.s8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/MC/PowerPC/ppc-nop.s b/test/MC/PowerPC/ppc-nop.s
index 50afae2..29fd8e4 100644
--- a/test/MC/PowerPC/ppc-nop.s
+++ b/test/MC/PowerPC/ppc-nop.s
@@ -1,5 +1,6 @@
-# RUN: llvm-mc -filetype=obj -triple=powerpc-unknown-linux-gnu %s | llvm-readobj -s -sd - | FileCheck %s
-# RUN: llvm-mc -filetype=obj -triple=powerpc64-unknown-linux-gnu %s | llvm-readobj -s -sd - | FileCheck %s
+# RUN: llvm-mc -filetype=obj -triple=powerpc-unknown-linux-gnu %s | llvm-readobj -s -sd - | FileCheck -check-prefix=CHECK-BE %s
+# RUN: llvm-mc -filetype=obj -triple=powerpc64-unknown-linux-gnu %s | llvm-readobj -s -sd - | FileCheck -check-prefix=CHECK-BE %s
+# RUN: llvm-mc -filetype=obj -triple=powerpc64le-unknown-linux-gnu %s | llvm-readobj -s -sd - | FileCheck -check-prefix=CHECK-LE %s
blr
.p2align 3
@@ -8,5 +9,6 @@ blr
.byte 0x42
.p2align 2
-# CHECK: 0000: 4E800020 60000000 4E800020 42000000
+# CHECK-BE: 0000: 4E800020 60000000 4E800020 42000000
+# CHECK-LE: 0000: 2000804E 00000060 2000804E 42000000