[Bug target/52483] SH Target: Loads from volatile memory leave redundant sign/zero extensions
kkojima at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 18 12:26:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52483
--- Comment #3 from Kazumoto Kojima <kkojima at gcc dot gnu.org> 2012-09-18 12:25:52 UTC ---
(In reply to comment #2)
> If that is the only reason for rejecting volatile mems, then I think it would
> be OK to match volatile mems in the load/store expanders for SH, since there
> are no arithmetic insns that take mems anyway (except for some GBR byte mem
> modification insns, which aren't used in the backend).
> Kaz, does this make sense?
Yep, though I'm not sure whether that is the only reason or not.
Please go ahead and see the effect.
More information about the Gcc-bugs
mailing list