1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/MC/X86/x86-directive-nops.s
Jian Cai 7f1bdb7b20 [X86] support .nops directive
Add support of .nops on X86. This addresses llvm.org/PR45788.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D82826
2020-08-03 11:50:56 -07:00

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