[PATCH, committed], Fix typo in gcc/config/rs6000/rs6000.md
Michael Meissner
meissner@linux.vnet.ibm.com
Mon Feb 7 20:40:00 GMT 2011
Since I committed the rs6000 -mrecip support last June, there has been a
harmless typo in the source. I had spelled RS6000_RECIP_HAVE_RSQRTE_P as
RS6000_RECIP_HAVE_RSQRT_P. The build would note that RS6000_RECIP_HAVE_RSQRT_P
was not defined, and generate a call to the unknown function. However, this
warning would not stop a make bootstrap. The linker would dutifully enter a
call to RS6000_RECIP_HAVE_RSQRT_P to be filled in later, but since the
gen_rsqrt* functions were never called, the typo was never noticed. Andreas
Tobler prompted me to look into it, and I fixed it as being obvious. I did do
a bootstrap build before checking it in.
2011-02-07 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/47636
* config/rs6000/rs6000.md (rsqrt<mode>2): Use the correct macro
for the condition.
Index: gcc/config/rs6000/rs6000.md
===================================================================
--- gcc/config/rs6000/rs6000.md (revision 169888)
+++ gcc/config/rs6000/rs6000.md (working copy)
@@ -5638,7 +5638,7 @@ (define_split
(define_expand "rsqrt<mode>2"
[(match_operand:RECIPF 0 "gpc_reg_operand" "")
(match_operand:RECIPF 1 "gpc_reg_operand" "")]
- "RS6000_RECIP_HAVE_RSQRT_P (<MODE>mode)"
+ "RS6000_RECIP_HAVE_RSQRTE_P (<MODE>mode)"
{
rs6000_emit_swrsqrt (operands[0], operands[1]);
DONE;
--
Michael Meissner, IBM
5 Technology Place Drive, M/S 2757, Westford, MA 01886-3141, USA
meissner@linux.vnet.ibm.com fax +1 (978) 399-6899
More information about the Gcc-patches
mailing list