Re: [SH] PR 54760 - Add thread pointer built-ins and GBR displacement addressing

2012-10-07 Thread Kaz Kojima
Oleg Endo wrote: > Attached patch adds the GBR addressing mode stuff. I've added the > '!NONJUMP_INSN_P (i)' check which should fix the crash. Could you > please test again? No new failures with the top level "make -k check" on cross sh4-unknown-linux-gnu. OK for trunk. Regards, kaz

Re: [SH] PR 54760 - Add thread pointer built-ins and GBR displacement addressing

2012-10-06 Thread Oleg Endo
On Sat, 2012-10-06 at 12:31 +0900, Kaz Kojima wrote: > Oleg Endo wrote: > > The attached patch is the next step that adds the thread pointer > > builtins. The GBR address mode stuff will follow afterwards separately. > > Tested on rev 192142 with 'make all' and > > 'make -k check-gcc RUNTESTFLAGS

Re: [SH] PR 54760 - Add thread pointer built-ins and GBR displacement addressing

2012-10-05 Thread Kaz Kojima
Oleg Endo wrote: > The attached patch is the next step that adds the thread pointer > builtins. The GBR address mode stuff will follow afterwards separately. > Tested on rev 192142 with 'make all' and > 'make -k check-gcc RUNTESTFLAGS="sh.exp --target_board=sh-sim > \{-m2/-ml,-m2/-mb,-m2a/-mb,-m4

Re: [SH] PR 54760 - Add thread pointer built-ins and GBR displacement addressing

2012-10-05 Thread Oleg Endo
On Fri, 2012-10-05 at 21:55 +0900, Kaz Kojima wrote: > Oleg Endo wrote: > > Do you mean something like the attached patch as a preparation step? > > (checked with 'make all') > > Yes. The patch is OK with removing the first line of the ChangeLog > entry for PR number. Done. The attached patch i

Re: [SH] PR 54760 - Add thread pointer built-ins and GBR displacement addressing

2012-10-05 Thread Kaz Kojima
Oleg Endo wrote: > Do you mean something like the attached patch as a preparation step? > (checked with 'make all') Yes. The patch is OK with removing the first line of the ChangeLog entry for PR number. Regards, kaz

Re: [SH] PR 54760 - Add thread pointer built-ins and GBR displacement addressing

2012-10-04 Thread Oleg Endo
On Thu, 2012-10-04 at 11:52 +0900, Kaz Kojima wrote: > sh4-unknown-linux-gnu build failed during compiling libmudflap: > > /exp/ldroot/dodes/xsh-gcc/./gcc/xgcc -B/exp/ldroot/dodes/xsh-gcc/./gcc/ > -B/usr/local/sh4-unknown-linux-gnu/bin/ > -B/usr/local/sh4-unknown-linux-gnu/lib/ -isystem > /usr

Re: [SH] PR 54760 - Add thread pointer built-ins and GBR displacement addressing

2012-10-03 Thread Kaz Kojima
Oleg Endo wrote: > This adds the two common built-in functions __builtin_thread_pointer and > __builtin_set_thread_pointer to the SH port. > I've done it in a way so that hopefully it can be transitioned to target > independent thread pointer built-ins easily, as suggested by Richard a > while ago

Re: [SH] PR 54760 - Add thread pointer built-ins and GBR displacement addressing

2012-10-03 Thread Oleg Endo
On Wed, 2012-10-03 at 23:21 +0200, Oleg Endo wrote: > testsuite/ChangeLog: > > PR target/54760 > * gcc.target/sh/pr54706-1.c: New. > * gcc.target/sh/pr54706-2.c: New. > * gcc.target/sh/pr54706-3.c: New. Obviously there is a typo in the file names for the test cases. Attach