summaryrefslogtreecommitdiff
path: root/test/MC/X86/AlignedBundling/nesting.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/X86/AlignedBundling/nesting.s')
-rw-r--r--test/MC/X86/AlignedBundling/nesting.s26
1 files changed, 15 insertions, 11 deletions
diff --git a/test/MC/X86/AlignedBundling/nesting.s b/test/MC/X86/AlignedBundling/nesting.s
index 74b8fe9ff49b..16ed5a44da56 100644
--- a/test/MC/X86/AlignedBundling/nesting.s
+++ b/test/MC/X86/AlignedBundling/nesting.s
@@ -6,7 +6,8 @@
# Will be bundle-aligning to 16 byte boundaries
.bundle_align_mode 4
.text
-# CHECK-LABEL: foo
+# CHECK-LABEL: foo:
+.type foo,@function
foo:
# Test that bundle alignment mode can be set more than once.
.bundle_align_mode 4
@@ -19,11 +20,12 @@ foo:
callq bar
.bundle_unlock
.bundle_unlock
-# CHECK: 10: callq
-# CHECK-NEXT: 15: callq
+# CHECK: 10: callq {{.*}} <bar>
+# CHECK-NEXT: 15: callq {{.*}} <bar>
.p2align 4
-# CHECK-LABEL: bar
+# CHECK-LABEL: bar:
+.type bar,@function
bar:
callq foo
callq foo
@@ -35,10 +37,11 @@ bar:
callq bar
.bundle_unlock
.bundle_unlock
-# CHECK: 36: callq
-# CHECK-NEXT: 3b: callq
+# CHECK: 36: callq {{.*}} <bar>
+# CHECK-NEXT: 3b: callq {{.*}} <bar>
-# CHECK-LABEL: baz
+# CHECK-LABEL: baz:
+.type baz,@function
baz:
callq foo
callq foo
@@ -50,10 +53,11 @@ baz:
callq bar
.bundle_unlock
.bundle_unlock
-# CHECK: 56: callq
-# CHECK-NEXT: 5b: callq
+# CHECK: 56: callq {{.*}} <bar>
+# CHECK-NEXT: 5b: callq {{.*}} <bar>
# CHECK-LABEL: quux
+.type quux,@function
quux:
callq bar
callq bar
@@ -65,5 +69,5 @@ quux:
.bundle_unlock
# Check that the calls are bundled together when the second one is after the
# inner nest is closed.
-# CHECK: 70: callq
-# CHECK-NEXT: 75: callq
+# CHECK: 70: callq {{.*}} <bar>
+# CHECK-NEXT: 75: callq {{.*}} <bar>