RFA: Remove undocumented SH -mfmovd option
Kaz Kojima
kkojima@rr.iij4u.or.jp
Wed Jul 1 22:04:00 GMT 2009
Nick Clifton <nickc@redhat.com> wrote:
> Oh dear, I do not see these. Mind you I was testing with an sh-elf
> toolchain rather than sh4-unknown-linux-gnu. I will build a toolchain
> configured that way and see if I can reproduce the problem.
It looks something wrong happens for little endian sh4 case.
Here is the difference of old/new sh4-unknown-linux-gnu compiler's
outputs for
extern void bar (double);
int foo (void)
{
bar (1.0);
return 0;
}
--- old.s 2009-07-02 06:46:13.000000000 +0900
+++ new.s 2009-07-02 06:46:21.000000000 +0900
@@ -11,8 +11,8 @@ foo:
mov.l .L2,r1
sts.l pr,@-r15
mova .L3,r0
- fmov.s @r0+,fr5
fmov.s @r0+,fr4
+ fmov.s @r0+,fr5
jsr @r1
mov r15,r14
mov #0,r0
Regards,
kaz
More information about the Gcc-patches
mailing list