Re: [SH] PR 53512 - Allow fsca and fsrra for non-SH4A

2012-06-02 Thread Oleg Endo
On Fri, 2012-06-01 at 22:15 +0900, Kaz Kojima wrote: I see a new failure FAIL: gcc.target/sh/pr53512-1.c scan-assembler fsca on sh4-unknown-linux-gnu with the patch. Looks that the test fails due to TARGET_HAS_SINCOS which is defined on linux targets. It seems that we need a sincossf3

Re: [SH] PR 53512 - Allow fsca and fsrra for non-SH4A

2012-06-02 Thread Kaz Kojima
Oleg Endo oleg.e...@t-online.de wrote: The attached patch should fix the issue, by folding the existing sinsf2 and cossf2 expanders into a single sincossf3. I ran the test cases again with TARGET_HAS_SINCOS set to '1' and to '0' and they pass. OK for trunk. Regards, kaz

Re: [SH] PR 53512 - Allow fsca and fsrra for non-SH4A

2012-06-01 Thread Kaz Kojima
Oleg Endo oleg.e...@t-online.de wrote: The attached patch addresses PR 53512. Tested with make all-gcc make info dvi pdf Previous default behavior for SH4A: make check-gcc RUNTESTFLAGS=sh.exp=sh4a-sincosf* --target_board=sh-sim/-m4a-single/-ml check-gcc RUNTESTFLAGS=sh.exp=sh4a-fsrra*

[SH] PR 53512 - Allow fsca and fsrra for non-SH4A

2012-05-31 Thread Oleg Endo
Hello, The attached patch addresses PR 53512. Tested with make all-gcc make info dvi pdf Previous default behavior for SH4A: make check-gcc RUNTESTFLAGS=sh.exp=sh4a-sincosf* --target_board=sh-sim/-m4a-single/-ml check-gcc RUNTESTFLAGS=sh.exp=sh4a-fsrra* --target_board=sh-sim/-m4a-single/-ml