From 4cbfbb1bbb819349fccf3d4948445176b24fa586 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Thu, 16 Dec 1999 10:50:17 +0100 Subject: [PATCH] i386.md (movqi): Use "nonimmediate_operand" for output operand. * i386.md (movqi): Use "nonimmediate_operand" for output operand. (movstrictqi, movdi, movsf, movdf, movxf): Likewise. (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise. From-SVN: r30972 --- gcc/ChangeLog | 6 ++++++ gcc/config/i386/i386.md | 32 ++++++++++++++++---------------- 2 files changed, 22 insertions(+), 16 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fa00e6b8022..5f98bda8864 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Thu Dec 16 10:43:35 MET 1999 Jan Hubicka + + * i386.md (movqi): Use "nonimmediate_operand" for output operand. + (movstrictqi, movdi, movsf, movdf, movxf): Likewise. + (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise. + Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com) * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0) diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index cb0ed327bcb..96f1aba8247 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -1437,7 +1437,7 @@ [(set_attr "type" "imov")]) (define_expand "movqi" - [(set (match_operand:QI 0 "general_operand" "") + [(set (match_operand:QI 0 "nonimmediate_operand" "") (match_operand:QI 1 "general_operand" ""))] "" "ix86_expand_move (QImode, operands); DONE;") @@ -1541,7 +1541,7 @@ (set_attr "ppro_uops" "few")]) (define_expand "movstrictqi" - [(set (strict_low_part (match_operand:QI 0 "general_operand" "")) + [(set (strict_low_part (match_operand:QI 0 "nonimmediate_operand" "")) (match_operand:QI 1 "general_operand" ""))] "! TARGET_PARTIAL_REG_STALL" " @@ -1655,7 +1655,7 @@ [(set_attr "type" "imov")]) (define_expand "movdi" - [(set (match_operand:DI 0 "general_operand" "") + [(set (match_operand:DI 0 "nonimmediate_operand" "") (match_operand:DI 1 "general_operand" ""))] "" "ix86_expand_move (DImode, operands); DONE;") @@ -1689,7 +1689,7 @@ "if (ix86_split_long_move (operands)) DONE;") (define_expand "movsf" - [(set (match_operand:SF 0 "general_operand" "") + [(set (match_operand:SF 0 "nonimmediate_operand" "") (match_operand:SF 1 "general_operand" ""))] "" "ix86_expand_move (SFmode, operands); DONE;") @@ -1788,7 +1788,7 @@ [(set_attr "type" "fxch")]) (define_expand "movdf" - [(set (match_operand:DF 0 "general_operand" "") + [(set (match_operand:DF 0 "nonimmediate_operand" "") (match_operand:DF 1 "general_operand" ""))] "" "ix86_expand_move (DFmode, operands); DONE;") @@ -1964,7 +1964,7 @@ [(set_attr "type" "fxch")]) (define_expand "movxf" - [(set (match_operand:XF 0 "general_operand" "") + [(set (match_operand:XF 0 "nonimmediate_operand" "") (match_operand:XF 1 "general_operand" ""))] "" "ix86_expand_move (XFmode, operands); DONE;") @@ -3116,7 +3116,7 @@ (define_split [(set (match_operand:DI 0 "nonimmediate_operand" "") - (plus:DI (match_operand:DI 1 "general_operand" "") + (plus:DI (match_operand:DI 1 "nonimmediate_operand" "") (match_operand:DI 2 "general_operand" ""))) (clobber (reg:CC 17))] "cse_not_expected" @@ -3295,7 +3295,7 @@ [(set_attr "type" "alu")]) (define_expand "addhi3" - [(parallel [(set (match_operand:HI 0 "general_operand" "") + [(parallel [(set (match_operand:HI 0 "nonimmediate_operand" "") (plus:HI (match_operand:HI 1 "nonimmediate_operand" "") (match_operand:HI 2 "general_operand" ""))) (clobber (reg:CC 17))])] @@ -3410,8 +3410,8 @@ [(set_attr "type" "alu")]) (define_expand "addqi3" - [(parallel [(set (match_operand:QI 0 "general_operand" "") - (plus:QI (match_operand:QI 1 "general_operand" "") + [(parallel [(set (match_operand:QI 0 "nonimmediate_operand" "") + (plus:QI (match_operand:QI 1 "nonimmediate_operand" "") (match_operand:QI 2 "general_operand" ""))) (clobber (reg:CC 17))])] "" @@ -3622,7 +3622,7 @@ (define_insn "subdi3" [(set (match_operand:DI 0 "nonimmediate_operand" "=r,o") - (minus:DI (match_operand:DI 1 "general_operand" "0,0") + (minus:DI (match_operand:DI 1 "nonimmediate_operand" "0,0") (match_operand:DI 2 "general_operand" "roiF,riF"))) (clobber (reg:CC 17))] "" @@ -3630,7 +3630,7 @@ (define_split [(set (match_operand:DI 0 "nonimmediate_operand" "") - (minus:DI (match_operand:DI 1 "general_operand" "") + (minus:DI (match_operand:DI 1 "nonimmediate_operand" "") (match_operand:DI 2 "general_operand" ""))) (clobber (reg:CC 17))] "cse_not_expected" @@ -3708,7 +3708,7 @@ [(set_attr "type" "alu")]) (define_expand "subhi3" - [(parallel [(set (match_operand:HI 0 "general_operand" "") + [(parallel [(set (match_operand:HI 0 "nonimmediate_operand" "") (minus:HI (match_operand:HI 1 "nonimmediate_operand" "") (match_operand:HI 2 "general_operand" ""))) (clobber (reg:CC 17))])] @@ -3749,8 +3749,8 @@ [(set_attr "type" "alu")]) (define_expand "subqi3" - [(parallel [(set (match_operand:QI 0 "general_operand" "") - (minus:QI (match_operand:QI 1 "general_operand" "") + [(parallel [(set (match_operand:QI 0 "nonimmediate_operand" "") + (minus:QI (match_operand:QI 1 "nonimmediate_operand" "") (match_operand:QI 2 "general_operand" ""))) (clobber (reg:CC 17))])] "" @@ -7343,7 +7343,7 @@ (set_attr "ppro_uops" "few")]) (define_expand "ffssi2" - [(set (match_operand:SI 0 "general_operand" "") + [(set (match_operand:SI 0 "nonimmediate_operand" "") (ffs:SI (match_operand:SI 1 "general_operand" "")))] "" "