[Bug rtl-optimization/34522] inefficient code for long long multiply when only low bits are needed

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Dec 19 09:08:00 GMT 2007



------- Comment #2 from jakub at gcc dot gnu dot org  2007-12-19 09:08 -------
Shouldn't tmode be only used if GET_MODE_CLASS (tmode) == MODE_INT
&& GET_MODE_CLASS (mode) == MODE_INT && GET_MODE_BITSIZE (tmode) <
GET_MODE_BITSIZE (mode), to make sure we optimize only narrow, never widen, and
that float etc. multiplication is not affected?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34522



More information about the Gcc-bugs mailing list