diff mbox

[RS6000] Fix 65576 regression

Message ID 20150403125146.GW26234@bubble.grove.modra.org
State New
Headers show

Commit Message

Alan Modra April 3, 2015, 12:51 p.m. UTC
On Thu, Apr 02, 2015 at 08:02:57PM -0400, David Edelsohn wrote:
> If the final alternative cannot occur, it should be removed as well.
> Alan, would you please test that change also?

Tested powerpc64-linux and powerpc-linux no regressions.

	* config/rs6000/rs6000.md (extenddftf2_internal): Remove last
	alternative.

Comments

David Edelsohn April 3, 2015, 1:35 p.m. UTC | #1
On Fri, Apr 3, 2015 at 8:51 AM, Alan Modra <amodra@gmail.com> wrote:
> On Thu, Apr 02, 2015 at 08:02:57PM -0400, David Edelsohn wrote:
>> If the final alternative cannot occur, it should be removed as well.
>> Alan, would you please test that change also?
>
> Tested powerpc64-linux and powerpc-linux no regressions.
>
>         * config/rs6000/rs6000.md (extenddftf2_internal): Remove last
>         alternative.

Okay with the two patches combined.

Thanks, David
diff mbox

Patch

Index: gcc/config/rs6000/rs6000.md
===================================================================
--- gcc/config/rs6000/rs6000.md	(revision 221805)
+++ gcc/config/rs6000/rs6000.md	(working copy)
@@ -8369,9 +8369,9 @@ 
 })
 
 (define_insn_and_split "*extenddftf2_internal"
-  [(set (match_operand:TF 0 "nonimmediate_operand" "=m,Y,ws,d,&d,r")
-       (float_extend:TF (match_operand:DF 1 "input_operand" "d,r,md,md,md,rm")))
-   (use (match_operand:DF 2 "zero_reg_mem_operand" "d,r,j,m,d,n"))]
+  [(set (match_operand:TF 0 "nonimmediate_operand" "=m,Y,ws,d,&d")
+       (float_extend:TF (match_operand:DF 1 "input_operand" "d,r,md,md,md")))
+   (use (match_operand:DF 2 "zero_reg_mem_operand" "d,r,j,m,d"))]
   "!TARGET_IEEEQUAD
    && TARGET_HARD_FLOAT && TARGET_FPRS && TARGET_DOUBLE_FLOAT 
    && TARGET_LONG_DOUBLE_128"