Re: Preserve registers across function call (Re: CALL_USED_REGISTERS)

2009-07-17 Thread Makoto Fujiwara
Richard, thanks for great help, I think it'been more than serveral weeks :-) to figure out why. Now I am in good mood. thanks a lot, really appreciate. The fragments of the code for mine is like follows. (It is 4.2.1 based) (save) + for (regno = 0; regno < FIRST_PSEUDO_REGISTER ; regno++) +

Re: Preserve registers across function call (Re: CALL_USED_REGISTERS)

2009-07-16 Thread Richard Henderson
On 07/16/2009 01:47 AM, Makoto Fujiwara wrote: Could anyone suggest me which part of the src is taking care of above save/restore processing ? calls.c function.c -> expand_function_{start,end}() caller-save.c -> save_call_clobbered_regs() reload1.c or others ? I believe it shou

Preserve registers across function call (Re: CALL_USED_REGISTERS)

2009-07-16 Thread Makoto Fujiwara
My name is Makoto Fujiwara, I am working a particular port for private CPU (at the time being). The porting itself is getting very well, I believe, say having more than 30,000 PASS with testsuite. Although no execution available for that make check, I am preparing gdb/sim based execution verifica