1// RUN: llvm-mc -filetype=obj -triple i686-pc-linux-gnu %s -o - | llvm-objdump -d - | FileCheck %s 2 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. 6 7// CHECK: Disassembly of section push8: 8// CHECK-NEXT: 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 13 .section push8,"x" 14 pushw $-128 15 pushw $127 16 push $-128 17 push $127 18 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 23 .section push32,"x" 24 pushw $foo 25 push $foo 26