aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2001-06-26 12:47:33 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2001-06-26 10:47:33 +0000
commit05b432db5bcddb96c6ed9ddd88edfdfaa81d17a6 (patch)
tree144f44b72eb338b2b0f1378f869aeee6e66f6bc3 /gcc/config
parentf4655693b5aff2a21929d4c127b89a0fc9803a49 (diff)
downloadgcc-05b432db5bcddb96c6ed9ddd88edfdfaa81d17a6.zip
gcc-05b432db5bcddb96c6ed9ddd88edfdfaa81d17a6.tar.gz
gcc-05b432db5bcddb96c6ed9ddd88edfdfaa81d17a6.tar.bz2
i386.md (float_truncate splitter, [...]): Add reload_completted; fix operand predicate.
* i386.md (float_truncate splitter, and to mov splitters): Add reload_completted; fix operand predicate. * haifa-sched.c (sched_init): Do not split insns. * toplev.c (rest_of_compilation): Call split_all_insns before sched1 pass; simplify condition of post-reload splitter; call split_all_insn before sched2 pass. From-SVN: r43575
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i386/i386.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 791bf9e..62f93d2 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -4410,7 +4410,8 @@
(float_truncate:SF
(match_operand:DF 1 "nonimmediate_operand" "")))
(clobber (match_operand 2 "" ""))]
- "TARGET_80387 && !FP_REG_P (operands[0]) && !FP_REG_P (operands[1])"
+ "TARGET_80387 && reload_completed
+ && !FP_REG_P (operands[0]) && !FP_REG_P (operands[1])"
[(set (match_dup 0) (float_truncate:SF (match_dup 1)))]
"")
@@ -8310,7 +8311,7 @@
(set_attr "mode" "SI")])
(define_split
- [(set (match_operand 0 "ext_register_operand" "")
+ [(set (match_operand 0 "register_operand" "")
(and (match_dup 0)
(const_int -65536)))
(clobber (reg:CC 17))]
@@ -8323,7 +8324,7 @@
(and (match_dup 0)
(const_int -256)))
(clobber (reg:CC 17))]
- "(optimize_size || !TARGET_PARTIAL_REG_STALL)"
+ "(optimize_size || !TARGET_PARTIAL_REG_STALL) && reload_completed"
[(set (strict_low_part (match_dup 1)) (const_int 0))]
"operands[1] = gen_lowpart (QImode, operands[0]);")
@@ -8332,7 +8333,7 @@
(and (match_dup 0)
(const_int -65281)))
(clobber (reg:CC 17))]
- "(optimize_size || !TARGET_PARTIAL_REG_STALL)"
+ "(optimize_size || !TARGET_PARTIAL_REG_STALL) && reload_completed"
[(parallel [(set (zero_extract:SI (match_dup 0)
(const_int 8)
(const_int 8))