Commit 603ff6b5 by Dhananjay Deshpande Committed by Alexandre Oliva

sh.md (push_fpscr): Enable for TARGET_SH2E.

* gcc/config/sh/sh.md (push_fpscr): Enable for TARGET_SH2E.
(pop_fpscr, fpu_switch): Likewise.

From-SVN: r68520
parent af166e5d
2003-06-26 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
* gcc/config/sh/sh.md (push_fpscr): Enable for TARGET_SH2E.
(pop_fpscr, fpu_switch): Likewise.
2003-06-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> 2003-06-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* value-prof.c: New. * value-prof.c: New.
......
...@@ -3343,7 +3343,7 @@ ...@@ -3343,7 +3343,7 @@
(define_expand "push_fpscr" (define_expand "push_fpscr"
[(const_int 0)] [(const_int 0)]
"TARGET_SH3E" "TARGET_SH2E"
" "
{ {
rtx insn = emit_insn (gen_fpu_switch (gen_rtx (MEM, PSImode, rtx insn = emit_insn (gen_fpu_switch (gen_rtx (MEM, PSImode,
...@@ -3356,7 +3356,7 @@ ...@@ -3356,7 +3356,7 @@
(define_expand "pop_fpscr" (define_expand "pop_fpscr"
[(const_int 0)] [(const_int 0)]
"TARGET_SH3E" "TARGET_SH2E"
" "
{ {
rtx insn = emit_insn (gen_fpu_switch (get_fpscr_rtx (), rtx insn = emit_insn (gen_fpu_switch (get_fpscr_rtx (),
...@@ -8093,7 +8093,7 @@ mov.l\\t1f,r0\\n\\ ...@@ -8093,7 +8093,7 @@ mov.l\\t1f,r0\\n\\
(define_insn "fpu_switch" (define_insn "fpu_switch"
[(set (match_operand:PSI 0 "general_movdst_operand" "=c,c,r,c,c,r,m,r,<") [(set (match_operand:PSI 0 "general_movdst_operand" "=c,c,r,c,c,r,m,r,<")
(match_operand:PSI 1 "general_movsrc_operand" "c,>,m,m,r,r,r,!c,c"))] (match_operand:PSI 1 "general_movsrc_operand" "c,>,m,m,r,r,r,!c,c"))]
"TARGET_SH3E "TARGET_SH2E
&& (! reload_completed && (! reload_completed
|| true_regnum (operands[0]) != FPSCR_REG || true_regnum (operands[0]) != FPSCR_REG
|| GET_CODE (operands[1]) != MEM || GET_CODE (operands[1]) != MEM
......
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