[patch committed SH] Fix sh64-elf build failure

2012-10-03 Thread Kaz Kojima
Hi, I've committed the patch below to fix sh64-elf build failure. SHmedia and SHcompact using call cookie require special return insns and will require an extra work to enable simple_return. I simply disable it for these targets ATM. Regards, kaz -- 2012-10-04 Kaz Kojima * co

[patch committed SH] Fix sh64-elf build failure [3/3]

2012-03-03 Thread Kaz Kojima
The attached patch is a one liner to fix another unrecognized error when compiling libgcc on sh64-elf. We have no abssi2 insn for SHmedia ATM. Regtested on sh4-unkonwn-linux-gnu. Regards, kaz -- 2012-03-03 Kaz Kojima * config/sh/sh.md (abssi2): Add TARGET_SH1 condition. diff

[patch committed SH] Fix sh64-elf build failure [2/3]

2012-03-03 Thread Kaz Kojima
The attatched patch is to fix a thinko in sh_dwarf_register_span which was found with a failure during sh64-elf build. Regtested on sh4-unkonwn-linux-gnu. Regards, kaz -- 2012-03-03 Kaz Kojima * config/sh/sh.c (sh_dwarf_register_span): Don't apply DBX_REGISTER_NUMBER.

[patch committed SH] Fix sh64-elf build failure [1/3]

2012-03-03 Thread Kaz Kojima
Hi, This is the first one of the 3 tiny patches to fix the build failures for sh64-elf. stmt.c:lshift_cheap_p is testing the cost for (ashift (const1_rtx) (reg)). SH doesn't such insns but returns COSTS_N_INSNS (1) as its cost for SHmedia target. This results an unrecognized insn error for that