Move some bit and binary optimizations in simplify and match

Marc Glisse marc.glisse@inria.fr
Sat Oct 24 21:37:00 GMT 2015


On Fri, 23 Oct 2015, Hurugalawadi, Naveen wrote:

+ (minus (bit_and:cs @0 (bit_not @1)) (bit_and:s @0 @1))

I am not sure why we have :c on one bit_and but not the other.

+ (bit_ior:c (bit_and:c @0 (bit_not @1)) (bit_and:c (bit_not @0) @1))

Here on the other hand, I believe the :c on bit_ior is redundant.

-- 
Marc Glisse



More information about the Gcc-patches mailing list