Re: [PATCH] Fix up simplify_binary_operation_1 for vector float AND (PR target/54703)

2012-09-26 Thread Richard Guenther
On Wed, Sep 26, 2012 at 11:29 AM, Jakub Jelinek wrote: > Hi! > > At least i?86 and rs6000 backends use V*[SD]F AND/IOR/XOR/NOT > operations, seems most of the simplify-rtx.c code is properly guarded for > that with INTEGRAL_MODE_P (mode), but the > (x - (x & y)) -> (x & ~y) > optimization was not,

[PATCH] Fix up simplify_binary_operation_1 for vector float AND (PR target/54703)

2012-09-26 Thread Jakub Jelinek
Hi! At least i?86 and rs6000 backends use V*[SD]F AND/IOR/XOR/NOT operations, seems most of the simplify-rtx.c code is properly guarded for that with INTEGRAL_MODE_P (mode), but the (x - (x & y)) -> (x & ~y) optimization was not, eventhough it is only valid for integral modes. Fixed thusly, bootst