summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/testsuite/gas/xtensa/trampoline.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gas/testsuite/gas/xtensa/trampoline.s')
-rw-r--r--binutils-2.25/gas/testsuite/gas/xtensa/trampoline.s21
1 files changed, 21 insertions, 0 deletions
diff --git a/binutils-2.25/gas/testsuite/gas/xtensa/trampoline.s b/binutils-2.25/gas/testsuite/gas/xtensa/trampoline.s
new file mode 100644
index 00000000..259a3bbe
--- /dev/null
+++ b/binutils-2.25/gas/testsuite/gas/xtensa/trampoline.s
@@ -0,0 +1,21 @@
+ .text
+ j 1f
+ j 1f
+ j 2f
+ j 3f
+ .rep 25000
+99:
+ and a2, a2, a3
+ bne a2, a3, 99b
+ .endr
+1:
+ j 1b
+2:
+ j 2b
+
+ .rep 25000
+ and a2, a2, a3
+ _ret
+ .endr
+3:
+ j 3b