[Bug rtl-optimization/25972] pack and unpack of long doubles via union generates poor code
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Nov 3 18:05:00 GMT 2007
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-11-03 18:05 -------
Doing that (removing MAX_FIXED_MODE_SIZE), gets us:
.pack:
stfd 1,-16(1)
stfd 2,-8(1)
lfd 1,-16(1)
lfd 2,-8(1)
blr
.unpack:
stfd 1,-16(1)
stfd 2,-8(1)
lfd 0,-16(1)
lfd 13,-8(1)
stfd 0,0(5)
stfd 13,0(6)
blr
which is much better for pack (less LHS on cell).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25972
More information about the Gcc-bugs
mailing list