Bug 38091 - [Patch] H8SX: Bit instructions enhancement
Summary: [Patch] H8SX: Bit instructions enhancement
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.4.0
: P3 enhancement
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks: 37515 4.6
  Show dependency treegraph
 
Reported: 2008-11-12 10:07 UTC by Prafull Thakare
Modified: 2010-05-04 04:57 UTC (History)
1 user (show)

See Also:
Host: i686-pc-linux
Target: h8300*-unknown-elf
Build: i686-pc-linux
Known to work:
Known to fail:
Last reconfirmed:


Attachments
Patch for bit insn enhancement (1.13 KB, patch)
2008-11-12 10:09 UTC, Prafull Thakare
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Prafull Thakare 2008-11-12 10:07:23 UTC
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
Comment 1 Prafull Thakare 2008-11-12 10:09:13 UTC
Created attachment 16660 [details]
Patch for bit insn enhancement
Comment 2 Steven Bosscher 2009-06-04 12:53:28 UTC
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.
Comment 3 Prafull Thakare 2009-06-26 13:12:57 UTC
There is no change to this patch for gcc-4.5-20090402. 
Do we I still need to repost it?
Comment 4 Richard Biener 2009-06-26 13:51:00 UTC
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.
Comment 5 Prafull Thakare 2009-06-26 13:54:19 UTC
Ok, I will do that asap.
Comment 6 Steven Bosscher 2010-01-08 09:06:36 UTC
Ping?
Comment 7 Prafull Thakare 2010-01-22 07:47:46 UTC
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.
Comment 8 Jeffrey A. Law 2010-02-24 20:50:28 UTC
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.
Comment 9 Jeffrey A. Law 2010-05-04 04:57:18 UTC
patch was installed