1 # RUN: not llvm-mc -triple s390x-unknown-unknown -filetype=obj -mcpu=zEC12 \
2 # RUN: -o /dev/null %s 2>&1 | FileCheck %s
6 # Test fixup ranges, which are encoded as half-words.
9 # CHECK: error: operand out of range (4096 not between -4096 and 4094)
10 # CHECK-NEXT: bprp 0, .Lab1, 0
12 # CHECK-NEXT: error: operand out of range (-4098 not between -4096 and 4094)
13 # CHECK-NEXT: bprp 0, .Lab0, 0
25 # CHECK-NEXT: error: operand out of range (16777220 not between -16777216 and 16777214)
26 # CHECK-NEXT: bprp 0, 0, .Lab3
28 # CHECK-NEXT: error: operand out of range (-16777222 not between -16777216 and 16777214)
29 # CHECK-NEXT: bprp 0, 0, .Lab2
41 # CHECK-NEXT: error: operand out of range (65540 not between -65536 and 65534)
42 # CHECK-NEXT: cij %r1, 0, 0, .Lab5
44 # CHECK-NEXT: error: operand out of range (-65542 not between -65536 and 65534)
45 # CHECK-NEXT: cij %r1, 0, 0, .Lab4
57 # Unfortunately there is no support for offsets greater than 32 bits, so we have
58 # to for now assume they are in range.