------- Comment #12 from amodra at gcc dot gnu dot org 2005-11-18 05:55 ------- Subject: Bug 24779
Author: amodra Date: Fri Nov 18 05:55:16 2005 New Revision: 107160 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107160 Log: PR target/24779 Backport 2005-03-13 David Edelsohn <[EMAIL PROTECTED]>, 2005-03-20 David Edelsohn <[EMAIL PROTECTED]>, 2005-03-24 David Edelsohn <[EMAIL PROTECTED]>, 2005-09-11 David Edelsohn <[EMAIL PROTECTED]> * config/rs6000/rs6000.c (easy_fp_constant): SFmode constant 0.0f is easy. Return 0 for SFmode and DFmode before reload when flag_unsafe_math_optimizations not enabled. (reg_or_none500mem_operand): New predicate. (zero_reg_mem_operand): New predicate. (rs6000_generate_compare): Test flag_finite_math_only, not flag_unsafe_math_optimizations. * config/rs6000/rs6000.h (PREDICATES): Add zero_reg_mem_operand and reg_or_none500mem_operand. * config/rs6000/rs6000-protos.h (zero_reg_mem_operand): Prototype. (reg_or_none500mem_operand): Likewise. * config/rs6000/rs6000.md (extendsfdf2): Change operand1 predicate to reg_or_none500mem_operand. (extendsfdf2_fpr): Add MEM alternative. (movdf splitter): Use const_double_operand predicate. (extenddftf2_internal): Change operand2 predicate to zero_reg_mem_operand. Modified: branches/gcc-4_0-branch/gcc/ChangeLog branches/gcc-4_0-branch/gcc/config/rs6000/rs6000-protos.h branches/gcc-4_0-branch/gcc/config/rs6000/rs6000.c branches/gcc-4_0-branch/gcc/config/rs6000/rs6000.h branches/gcc-4_0-branch/gcc/config/rs6000/rs6000.md -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24779