summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2013-01-07 21:51:08 +0000
committerEli Bendersky <eliben@google.com>2013-01-07 21:51:08 +0000
commit6c1d4972cf1cd6b6072e31c05f97abb1ed7a8497 (patch)
tree01a1fc8d4730a3b75657fafa9a5428bd7e4f0057 /test
parentd3ae2866d105f6da6375544eb41aea0dad75a9f2 (diff)
downloadllvm-6c1d4972cf1cd6b6072e31c05f97abb1ed7a8497.tar.gz
llvm-6c1d4972cf1cd6b6072e31c05f97abb1ed7a8497.tar.bz2
llvm-6c1d4972cf1cd6b6072e31c05f97abb1ed7a8497.tar.xz
Add the align_to_end option to .bundle_lock in the MC implementation of aligned
bundling. The document describing this feature and the implementation has also been updated: https://sites.google.com/a/chromium.org/dev/nativeclient/pnacl/aligned-bundling-support-in-llvm git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171797 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/ARM/AlignedBundling/group-bundle-arm.s2
-rw-r--r--test/MC/X86/AlignedBundling/asm-printing-bundle-directives.s4
2 files changed, 5 insertions, 1 deletions
diff --git a/test/MC/ARM/AlignedBundling/group-bundle-arm.s b/test/MC/ARM/AlignedBundling/group-bundle-arm.s
index 6a5e454bf0..823d9e0cb8 100644
--- a/test/MC/ARM/AlignedBundling/group-bundle-arm.s
+++ b/test/MC/ARM/AlignedBundling/group-bundle-arm.s
@@ -2,7 +2,7 @@
# RUN: | llvm-objdump -no-show-raw-insn -triple armv7 -disassemble - | FileCheck %s
# On ARM each instruction is 4 bytes long so padding for individual
-# instructions should not be inserted. However, for bundle=locked groups
+# instructions should not be inserted. However, for bundle-locked groups
# it can be.
.syntax unified
diff --git a/test/MC/X86/AlignedBundling/asm-printing-bundle-directives.s b/test/MC/X86/AlignedBundling/asm-printing-bundle-directives.s
index 1892e15850..387e0fe59b 100644
--- a/test/MC/X86/AlignedBundling/asm-printing-bundle-directives.s
+++ b/test/MC/X86/AlignedBundling/asm-printing-bundle-directives.s
@@ -14,5 +14,9 @@ foo:
jle .L_ELSE
.bundle_unlock
# CHECK: .bundle_unlock
+ .bundle_lock align_to_end
+# CHECK: .bundle_lock align_to_end
+ add %rbx, %rdx
+ .bundle_unlock