diff options
Diffstat (limited to 'test/MC/PowerPC/ppc64-operands.s')
-rw-r--r-- | test/MC/PowerPC/ppc64-operands.s | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/MC/PowerPC/ppc64-operands.s b/test/MC/PowerPC/ppc64-operands.s index de5fcb0..5cc6a3c 100644 --- a/test/MC/PowerPC/ppc64-operands.s +++ b/test/MC/PowerPC/ppc64-operands.s @@ -85,3 +85,18 @@ # CHECK: ld 1, -4(2) # encoding: [0xe8,0x22,0xff,0xfc] ld 1, -4(2) + +# Immediate branch operands + +# CHECK: b .+1024 # encoding: [0x48,0x00,0x04,0x00] + b 1024 + +# CHECK: ba 1024 # encoding: [0x48,0x00,0x04,0x02] + ba 1024 + +# CHECK: beq 0, .+1024 # encoding: [0x41,0x82,0x04,0x00] + beq 1024 + +# CHECK: beqa 0, 1024 # encoding: [0x41,0x82,0x04,0x02] + beqa 1024 + |