------- Comment #46 from hubicka at gcc dot gnu dot org 2006-08-08 06:15 ------- In x86/x86-64 world one can be almost sure that the load+execute instruction pair will execute (marginaly to noticeably) faster than move+load-and-execute instruction pair as the more complex instructions are harder for on-chip scheduling (they retire later). Perhaps we can move such a transformation somewhere more generically perhaps to post-reload copyprop?
Honza -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27827