[PATCH][M68K] Fix extendsidi pattern to handle ColdFire
Maxim Kuvyrkov
maxim@codesourcery.com
Wed Nov 19 15:01:00 GMT 2008
Hello,
The attached patch fixes problem in extendsidi2_mem pattern that allows
it to output instruction that does not take into account ColdFire
addressing restrictions. Specifically, the last alternative allows
offset addressing for both operands while ColdFire can handle at most
one offset in an instruction.
To fix the problem patch cleans up extendsidi2 and extendsidi2_mem
patterns merging them into one and adds a ColdFire-specific alternative
to the result.
Tested on ColdFire bare-metal. OK for trunk?
--
MaximK
CodeSourcery
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cf-extendsidi.ChangeLog
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20081119/c66a86d3/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cf-extendsidi.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20081119/c66a86d3/attachment-0001.ksh>
More information about the Gcc-patches
mailing list