11 lines · plain
1# RUN: llvm-mc -triple powerpc-unknown-unknown --show-encoding %s | FileCheck %s2 3# Check that large and/or negative immediates in 32-bit mode are accepted.4 5# CHECK: ba 0xfe000000 # encoding: [0x4a,0x00,0x00,0x02]6# CHECK-NEXT: ba 0xfe000000 # encoding: [0x4a,0x00,0x00,0x02]7# CHECK-NEXT: ba 0xfffffc00 # encoding: [0x4b,0xff,0xfc,0x02]8 ba 0xfe0000009 ba (-33554432)10 ba (-1024)11