[Bug target/38570] [arm] -mthumb generates sub-optimal prolog/epilog
carrot at google dot com
gcc-bugzilla@gcc.gnu.org
Mon May 4 10:09:00 GMT 2009
------- Comment #8 from carrot at google dot com 2009-05-04 10:08 -------
Sorry for my ignorance to gcc. What types of instructions reload will add?
Spilling and loading registers? and more?
By reading the the implementation of thumb_far_jump_used_p() I can get the
conclusion that if reload thinks there is a far jump, later pass won't change
this decision. But if reload thinks there is no far jump, later pass still need
to re-check the far jump existence and may change this decision. So if reload
occasionally makes a wrong decision later pass should correct it, is it right?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38570
More information about the Gcc-bugs
mailing list