1 # RUN: llvm-mc -mcpu=skylake -filetype=obj -triple x86_64-pc-linux-gnu %s -x86-pad-max-prefix-size=5 -x86-pad-for-align=1 | llvm-objdump -d - | FileCheck %s
4 # The first test check the correctness cornercase - can't add prefixes on a
5 # instruction following by a prefix.
6 .globl labeled_prefix_test
8 # CHECK: 0: 2e 2e 2e 2e 2e e9 06 00 00 00 jmp
9 # CHECK: a: 3e e9 00 00 00 00 jmp
17 # The second test is similar to the second test - can't add prefixes on a
18 # instruction following by hardcode.
20 .globl labeled_hardcode_test
21 labeled_hardcode_test
:
22 # CHECK: 20: 2e 2e 2e 2e 2e e9 06 00 00 00 jmp
23 # CHECK: 2a: 3e e9 00 00 00 00 jmp