Hi, H8SX target supports generation of bit instructions in memory addressing mode. However, these instructions are not getting generated and the bits in memory are operated using other instructions which consume more memory. The attached patch "h8sx.patch" generates these bit instructions and hence generates optimized code. Regards, Prafulla Thakare http://www.kpitgnutools.com
Created attachment 16660 [details] Patch for bit insn enhancement
This is one of the "GCC 4.5 pending patches". Since we are in stage 1, now is a good time to submit this patch.
There is no change to this patch for gcc-4.5-20090402. Do we I still need to repost it?
patches need to be sent to gcc-patches@gcc.gnu.org together with a ChangeLog entry that follows existing practice and a note on how the patch was tested.
Ok, I will do that asap.
Ping?
We have now posted the updated patch here, http://gcc.gnu.org/ml/gcc-patches/2010-01/msg01141.html It seems this patch fixes 272 regressions on the H8SX target and overall it fixes 525 regressions.
Just a note. I'm going to make the 4.6 pending patches depend on this bug. The patches from 2008-11-12 and Jan 2010 will need updating as it should no longer be necessary to reject REGs for insv/extv on the H8/SX. See PR 32693 for details.
patch was installed