summaryrefslogtreecommitdiffstats
path: root/test/MC/PowerPC/ppc-nop.s
blob: 29fd8e4f7489b4e99d61f1e4cbaefaed81ff8dcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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
blr

.byte 0x42
.p2align 2

# CHECK-BE:  0000: 4E800020 60000000 4E800020 42000000
# CHECK-LE:  0000: 2000804E 00000060 2000804E 42000000