aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sh/sh.md
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@redhat.co.uk>2000-09-18 17:12:32 +0000
committerBernd Schmidt <crux@gcc.gnu.org>2000-09-18 17:12:32 +0000
commit2e361e5924716e80f87daf85812a9d75ee6b8fa0 (patch)
treec63e1ab6d9acae9d0dfa35d61a70a69b92498b0e /gcc/config/sh/sh.md
parent0fb8cb90e8f8979cf534368dd2f955ccb89cc22c (diff)
downloadgcc-2e361e5924716e80f87daf85812a9d75ee6b8fa0.zip
gcc-2e361e5924716e80f87daf85812a9d75ee6b8fa0.tar.gz
gcc-2e361e5924716e80f87daf85812a9d75ee6b8fa0.tar.bz2
Avoid problems with reloading fpul in HImode
From-SVN: r36499
Diffstat (limited to 'gcc/config/sh/sh.md')
-rw-r--r--gcc/config/sh/sh.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index 2930b7c..59ec818 100644
--- a/gcc/config/sh/sh.md
+++ b/gcc/config/sh/sh.md
@@ -4235,7 +4235,7 @@ else
(define_insn "floatsisf2_i4"
[(set (match_operand:SF 0 "arith_reg_operand" "=f")
- (float:SF (match_operand:SI 1 "register_operand" "y")))
+ (float:SF (match_operand:SI 1 "reg_no_subreg_operand" "y")))
(use (match_operand:PSI 2 "fpscr_operand" "c"))]
"TARGET_SH3E"
"float %1,%0"
@@ -4251,7 +4251,7 @@ else
;; [(set_attr "type" "fp")])
(define_expand "fix_truncsfsi2"
- [(set (match_operand:SI 0 "arith_reg_operand" "=y")
+ [(set (match_operand:SI 0 "register_operand" "=y")
(fix:SI (match_operand:SF 1 "arith_reg_operand" "f")))]
"TARGET_SH3E"
"
@@ -4264,7 +4264,7 @@ else
}")
(define_insn "fix_truncsfsi2_i4"
- [(set (match_operand:SI 0 "arith_reg_operand" "=y")
+ [(set (match_operand:SI 0 "register_operand" "=y")
(fix:SI (match_operand:SF 1 "arith_reg_operand" "f")))
(use (match_operand:PSI 2 "fpscr_operand" "c"))]
"TARGET_SH4"
@@ -4490,7 +4490,7 @@ else
(define_insn "floatsidf2_i"
[(set (match_operand:DF 0 "arith_reg_operand" "=f")
- (float:DF (match_operand:SI 1 "register_operand" "y")))
+ (float:DF (match_operand:SI 1 "reg_no_subreg_operand" "y")))
(use (match_operand:PSI 2 "fpscr_operand" "c"))]
"TARGET_SH4"
"float %1,%0"
@@ -4634,7 +4634,7 @@ else
(define_insn "extendsfdf2_i4"
[(set (match_operand:DF 0 "arith_reg_operand" "=f")
- (float_extend:DF (match_operand:SF 1 "register_operand" "y")))
+ (float_extend:DF (match_operand:SF 1 "reg_no_subreg_operand" "y")))
(use (match_operand:PSI 2 "fpscr_operand" "c"))]
"TARGET_SH4"
"fcnvsd %1,%0"