s390.c (s390_z10_optimize_cmp): Don't touch FP compares.

2009-10-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/s390.c (s390_z10_optimize_cmp): Don't touch FP compares.

From-SVN: r152981
This commit is contained in:
Andreas Krebbel 2009-10-19 15:49:16 +00:00 committed by Andreas Krebbel
parent ae3efc3166
commit 16fd3ccfbd
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2009-10-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.c (s390_z10_optimize_cmp): Don't touch FP compares.
2009-10-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.c (s390_z10_optimize_cmp): Skip notes and debug

View File

@ -9799,6 +9799,9 @@ s390_z10_optimize_cmp (rtx insn)
if (!REG_P (*op0) || !REG_P (*op1))
return false;
if (GET_MODE_CLASS (GET_MODE (*op0)) != MODE_INT)
return false;
/* Swap the COMPARE arguments and its mask if there is a
conflicting access in the previous insn. */
prev_insn = prev_active_insn (insn);