bolt/deps/llvm-18.1.8/llvm/test/MC/PowerPC/ppc32-ba.s
2025-02-14 19:21:04 +01:00

10 lines
407 B
ArmAsm

# RUN: llvm-mc -triple powerpc-unknown-unknown --show-encoding %s | FileCheck %s
# Check that large and/or negative immediates in 32-bit mode are accepted.
# CHECK: ba 0xfe000000 # encoding: [0x4a,0x00,0x00,0x02]
# CHECK-NEXT: ba 0xfe000000 # encoding: [0x4a,0x00,0x00,0x02]
# CHECK-NEXT: ba 0xfffffc00 # encoding: [0x4b,0xff,0xfc,0x02]
ba 0xfe000000
ba (-33554432)
ba (-1024)