PowerPC patch for gcc-2.95.4
Bernd Schmidt
bernds@redhat.com
Tue May 22 03:18:00 GMT 2001
On Fri, 18 May 2001, David Edelsohn wrote:
> I would like to includ the following patch in gcc-2.95.4 release.
> The patch was just applied to gcc-3.0 and the gcc trunk.
>
> * rs6000.md (movsfcc,movdfcc): Remove NE case.
Applied.
Bernd
> Index: rs6000.md
> ===================================================================
> RCS file: /cvs/gcc/egcs/gcc/config/rs6000/rs6000.md,v
> retrieving revision 1.108.4.5
> diff -c -p -r1.108.4.5 rs6000.md
> *** rs6000.md 2001/05/14 04:19:49 1.108.4.5
> --- rs6000.md 2001/05/18 05:03:35
> ***************
> *** 4877,4883 ****
> FAIL;
> switch (code)
> {
> ! case GE: case EQ: case NE:
> op0 = rs6000_compare_op0;
> op1 = rs6000_compare_op1;
> break;
> --- 4877,4883 ----
> FAIL;
> switch (code)
> {
> ! case GE: case EQ:
> op0 = rs6000_compare_op0;
> op1 = rs6000_compare_op1;
> break;
> ***************
> *** 4908,4918 ****
> emit_insn (gen_negdf2 (temp, temp));
> emit_insn (gen_fseldfsf4 (operands[0], temp, operands[0], operands[3]));
> }
> - else if (code == NE)
> - {
> - emit_insn (gen_negdf2 (temp, temp));
> - emit_insn (gen_fseldfsf4 (operands[0], temp, operands[3], operands[0]));
> - }
> }
> else
> {
> --- 4908,4913 ----
> ***************
> *** 4924,4934 ****
> emit_insn (gen_negsf2 (temp, temp));
> emit_insn (gen_fselsfsf4 (operands[0], temp, operands[0], operands[3]));
> }
> - else if (code == NE)
> - {
> - emit_insn (gen_negsf2 (temp, temp));
> - emit_insn (gen_fselsfsf4 (operands[0], temp, operands[3], operands[0]));
> - }
> }
> DONE;
> }")
> --- 4919,4924 ----
> ***************
> *** 5124,5130 ****
> FAIL;
> switch (code)
> {
> ! case GE: case EQ: case NE:
> op0 = rs6000_compare_op0;
> op1 = rs6000_compare_op1;
> break;
> --- 5114,5120 ----
> FAIL;
> switch (code)
> {
> ! case GE: case EQ:
> op0 = rs6000_compare_op0;
> op1 = rs6000_compare_op1;
> break;
> ***************
> *** 5155,5165 ****
> emit_insn (gen_negdf2 (temp, temp));
> emit_insn (gen_fseldfdf4 (operands[0], temp, operands[0], operands[3]));
> }
> - else if (code == NE)
> - {
> - emit_insn (gen_negdf2 (temp, temp));
> - emit_insn (gen_fseldfdf4 (operands[0], temp, operands[3], operands[0]));
> - }
> }
> else
> {
> --- 5145,5150 ----
> ***************
> *** 5170,5180 ****
> {
> emit_insn (gen_negsf2 (temp, temp));
> emit_insn (gen_fselsfdf4 (operands[0], temp, operands[0], operands[3]));
> - }
> - else if (code == NE)
> - {
> - emit_insn (gen_negsf2 (temp, temp));
> - emit_insn (gen_fselsfdf4 (operands[0], temp, operands[3], operands[0]));
> }
> }
> DONE;
> --- 5155,5160 ----
>
More information about the Gcc-patches
mailing list