summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/X86/Inputs/align-branch-64-2.s
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/MC/X86/Inputs/align-branch-64-2.s')
-rw-r--r--llvm/test/MC/X86/Inputs/align-branch-64-2.s27
1 files changed, 27 insertions, 0 deletions
diff --git a/llvm/test/MC/X86/Inputs/align-branch-64-2.s b/llvm/test/MC/X86/Inputs/align-branch-64-2.s
new file mode 100644
index 00000000000..16b854da71e
--- /dev/null
+++ b/llvm/test/MC/X86/Inputs/align-branch-64-2.s
@@ -0,0 +1,27 @@
+ .text
+ .globl foo
+ .p2align 4
+foo:
+ .rept 3
+ movl %eax, %fs:0x1
+ .endr
+ .rept 2
+ movl %esi, -12(%rbp)
+ .endr
+ jmp *%rax
+ .rept 3
+ movl %eax, %fs:0x1
+ .endr
+ movl %esi, -12(%rbp)
+ pushq %rbp
+ call *%rax
+ .rept 3
+ movl %eax, %fs:0x1
+ .endr
+ pushq %rbp
+ call foo
+ .rept 4
+ movl %eax, %fs:0x1
+ .endr
+ call *foo
+
OpenPOWER on IntegriCloud