mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
7f1bdb7b20
Add support of .nops on X86. This addresses llvm.org/PR45788. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D82826
13 lines
300 B
ArmAsm
13 lines
300 B
ArmAsm
# RUN: llvm-mc -triple i386 %s -filetype=obj | llvm-objdump -d - | FileCheck %s
|
|
|
|
.nops 4
|
|
# CHECK: 0: 90 nop
|
|
# CHECK-NEXT: 1: 90 nop
|
|
# CHECK-NEXT: 2: 90 nop
|
|
# CHECK-NEXT: 3: 90 nop
|
|
.nops 4, 1
|
|
# CHECK: 4: 90 nop
|
|
# CHECK-NEXT: 5: 90 nop
|
|
# CHECK-NEXT: 6: 90 nop
|
|
# CHECK-NEXT: 7: 90 nop
|