summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2015-11-19 11:44:35 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2015-11-19 11:44:35 +0000
commitb7b82bf33e0867c4946cc900b2ee94f6b4ad51f9 (patch)
treeaa1b7a57d81d28d1dc0bd80c7fc3db8bffcf24d0 /llvm/test
parent26da45c2bb0c44499583b14be04bc506df439f0a (diff)
downloadbcm5719-llvm-b7b82bf33e0867c4946cc900b2ee94f6b4ad51f9.tar.gz
bcm5719-llvm-b7b82bf33e0867c4946cc900b2ee94f6b4ad51f9.zip
Alternative to long nops for X86 CPUs, by Andrey Turetsky
Make X86AsmBackend generate smarter nops instead of a bunch of 0x90 for code alignment for CPUs which don't support long nop instructions. Differential Revision: http://reviews.llvm.org/D14178 llvm-svn: 253557
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/MC/X86/x86_nop.s8
1 files changed, 1 insertions, 7 deletions
diff --git a/llvm/test/MC/X86/x86_nop.s b/llvm/test/MC/X86/x86_nop.s
index 572487bfdac..feac4e4cf03 100644
--- a/llvm/test/MC/X86/x86_nop.s
+++ b/llvm/test/MC/X86/x86_nop.s
@@ -22,13 +22,7 @@ inc %eax
inc %eax
// CHECK: 0: 40 incl %eax
-// CHECK: 1: 90 nop
-// CHECK: 2: 90 nop
-// CHECK: 3: 90 nop
-// CHECK: 4: 90 nop
-// CHECK: 5: 90 nop
-// CHECK: 6: 90 nop
-// CHECK: 7: 90 nop
+// CHECK: 1: 8d b4 26 00 00 00 00 leal (%esi), %esi
// CHECK: 8: 40 incl %eax
OpenPOWER on IntegriCloud