1 // RUN: llvm-mc -filetype=obj -triple i686-pc-linux-gnu %s -o - | llvm-objdump -d - | FileCheck %s
3 // Test for proper instruction relaxation behavior for the push $imm
4 // instruction forms. This is the 32-bit version of the push $imm tests from
5 // relax-arith.s and relax-arith2.s.
7 // CHECK: Disassembly of section push8:
9 // CHECK-NEXT: 0: 66 6a 80 pushw $-128
10 // CHECK-NEXT: 3: 66 6a 7f pushw $127
11 // CHECK-NEXT: 6: 6a 80 pushl $-128
12 // CHECK-NEXT: 8: 6a 7f pushl $127
19 // CHECK: Disassembly of section push32:
20 // CHECK-NEXT: push32:
21 // CHECK-NEXT: 0: 66 68 00 00 pushw $0
22 // CHECK-NEXT: 4: 68 00 00 00 00 pushl $0