https://llvm.org/bugs/show_bug.cgi?id=27356
Hal Finkel <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Hal Finkel <[email protected]> --- (In reply to comment #1) > (In reply to comment #0) > > Double-check to make sure because my PPC is beyond rusty, but I think this > > is: > > > > subfic r4, r4, 32 > > rlwnm r3, r3, r4, 31, 31 > > Yes. I've used cvc4 to verify that this is true (assuming that y < 32 -- > three cheers for undefined behavior!). > > Also, for y < 64, we also can use rldcl(x, subfic(y, 64), 63). Patterns added in r280454. Thanks! -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list [email protected] http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs
