summaryrefslogtreecommitdiff
path: root/ia64_save_regs_in_stack.s
diff options
context:
space:
mode:
Diffstat (limited to 'ia64_save_regs_in_stack.s')
-rw-r--r--ia64_save_regs_in_stack.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/ia64_save_regs_in_stack.s b/ia64_save_regs_in_stack.s
new file mode 100644
index 0000000..3b18c08
--- /dev/null
+++ b/ia64_save_regs_in_stack.s
@@ -0,0 +1,12 @@
+ .text
+ .align 16
+ .global GC_save_regs_in_stack
+ .proc GC_save_regs_in_stack
+GC_save_regs_in_stack:
+ .body
+ flushrs
+ ;;
+ mov r8=ar.bsp
+ br.ret.sptk.few rp
+ .endp GC_save_regs_in_stack
+