mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
8853fbe08a
$ is used as PC for PowerPC inlineasm, ELF use it, enable it for AIX XCOFF as well. Reviewed By: #powerpc, amyk, nemanjai Differential Revision: https://reviews.llvm.org/D105956
9 lines
509 B
ArmAsm
9 lines
509 B
ArmAsm
# 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
|
|
# RUN: llvm-mc -triple powerpc-aix-ibm-xcoff --show-encoding %s 2>&1 | FileCheck -check-prefix=CHECK-BE %s
|
|
|
|
# CHECK-BE: # encoding: [0x42,0x00,A,0bAAAAAA00]
|
|
# CHECK-LE: # encoding: [0bAAAAAA00,A,0x00,0x42]
|
|
bdnz $-8
|
|
|