This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/15458] Combine ~ and ^.



------- Comment #4 from pinskia at gcc dot gnu dot org  2005-11-30 17:32 -------
Actually it is better for ~(a ^ CST) to come out as a ^ ~CST.

Right now we actually already implement ~(a^CST) as a ^ ~CST.  So we need just
to implement (~a) ^ CST as a ^ ~CST.  In fact this is what simplify_rtx does.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]