Commit b39eb2f9 by Richard Henderson Committed by Richard Henderson

ia64.md (UNSPECV_SETJMP_RECEIVER): New.

        * config/ia64/ia64.md (UNSPECV_SETJMP_RECEIVER): New.
        (builtin_setjmp_receiver): Delay call to ia64_reload_gp
        until after reload.

From-SVN: r64546
parent 6c537d03
2003-03-18 Richard Henderson <rth@redhat.com> 2003-03-18 Richard Henderson <rth@redhat.com>
* config/ia64/ia64.md (UNSPECV_SETJMP_RECEIVER): New.
(builtin_setjmp_receiver): Delay call to ia64_reload_gp
until after reload.
2003-03-18 Richard Henderson <rth@redhat.com>
* builtins.c (expand_builtin_unop): New target_mode operand; * builtins.c (expand_builtin_unop): New target_mode operand;
use it to convert the result to the correct mode. use it to convert the result to the correct mode.
(expand_builtin): Update all callers. (expand_builtin): Update all callers.
......
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
(UNSPECV_SET_BSP 4) (UNSPECV_SET_BSP 4)
(UNSPECV_PSAC_ALL 5) ; pred.safe_across_calls (UNSPECV_PSAC_ALL 5) ; pred.safe_across_calls
(UNSPECV_PSAC_NORMAL 6) (UNSPECV_PSAC_NORMAL 6)
(UNSPECV_SETJMP_RECEIVER 7)
]) ])
;; :::::::::::::::::::: ;; ::::::::::::::::::::
...@@ -5329,9 +5330,12 @@ ...@@ -5329,9 +5330,12 @@
DONE; DONE;
}) })
(define_expand "builtin_setjmp_receiver" (define_insn_and_split "builtin_setjmp_receiver"
[(use (match_operand:DI 0 "" ""))] [(unspec_volatile [(match_operand:DI 0 "" "")] UNSPECV_SETJMP_RECEIVER)]
"" ""
"#"
"reload_completed"
[(const_int 0)]
{ {
ia64_reload_gp (); ia64_reload_gp ();
DONE; DONE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment