diff options
Diffstat (limited to 'gas/testsuite/gas/scfi/aarch64/ginsn-arith-1.s')
-rw-r--r-- | gas/testsuite/gas/scfi/aarch64/ginsn-arith-1.s | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gas/testsuite/gas/scfi/aarch64/ginsn-arith-1.s b/gas/testsuite/gas/scfi/aarch64/ginsn-arith-1.s new file mode 100644 index 0000000..749a51a --- /dev/null +++ b/gas/testsuite/gas/scfi/aarch64/ginsn-arith-1.s @@ -0,0 +1,16 @@ +# Testcase for a variety of arith instructions + .text + .align 2 + .global foo + .type foo, %function +foo: + add sp, sp, 32 + adds x29, sp, 2134 + sub sp, sp, 32 + subs x29, sp, 2134 + add x29, sp, x2 + sub x29, sp, x3 + add sp, x29, x3 + sub sp, x29, x2 + ret + .size foo, .-foo |