[Xtensa] fix long long multiplication bug
Bob Wilson
bwilson@tensilica.com
Sat Aug 30 13:19:00 GMT 2008
While testing a patch for IRA, I noticed a problem in one of the tests when
multiplying long long values with the "Multiply 32 High" Xtensa processor
option. The define_expand had an "early clobber" problem when the destination
was the same as one of the inputs. I've committed this patch to fix it. I
reran the testsuite for an xtensa-elf build to verify that this fixes the
problem without introducing any regressions.
2008-08-28 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.md (<u>mulsidi3): Use a temporary register.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gcc-mul.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080830/5e1377bd/attachment.ksh>
More information about the Gcc-patches
mailing list