[Bug target/16144] Bogus reference to __divdf3 when -O1

rsandifo at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jun 24 17:35:00 GMT 2004


------- Additional Comments From rsandifo at gcc dot gnu dot org  2004-06-24 17:29 -------
Confirmed.  Seems to be fallout from:

2003-09-04  Eric Christopher  <echristo@redhat.com>

	* config/mips/mips.c (mips_expand_prologue): Convert to
	calls.struct_value_rtx hook.
	(reg_or_const_float_1_operand): New.
	* config/mips/mips.h: Update Comments.
	(mips_arg): Add reg_or_const_float_1_operand.
	* config/mips/mips.md (divdf3); Convert to expander.
	(divsf3): Ditto.
	(*divdf3): New pattern.
	(*divsf3): Ditto.

which causes the division expanders to "FAIL" when given a 1.0/x
operation that can't be implemented using rsqrt.

Please test the patch that I'm about to attach.  I'll test it
myself too.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rsandifo at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16144



More information about the Gcc-bugs mailing list