[SystemZ] Rework handling of constant PC-relative operands
[oota-llvm.git] / test / MC / SystemZ / insn-algfi-01.s
1 # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
2
3 #CHECK: algfi   %r0, 0                  # encoding: [0xc2,0x0a,0x00,0x00,0x00,0x00]
4 #CHECK: algfi   %r0, 4294967295         # encoding: [0xc2,0x0a,0xff,0xff,0xff,0xff]
5 #CHECK: algfi   %r15, 0                 # encoding: [0xc2,0xfa,0x00,0x00,0x00,0x00]
6
7         algfi   %r0, 0
8         algfi   %r0, (1 << 32) - 1
9         algfi   %r15, 0