Subject: Re: EGCS 1.1 UPDATE rev. 5
To: None <>
From: Richard Earnshaw <>
List: tech-toolchain
Date: 08/19/1998 17:11:56 said:
> - arm32: Problem with -msoft-float not turned on by default, which I'm
>   investigating.  Otherwise working. 

I've checked this with a build of egcs that I supped today.


void x (double x, double y)
  z(x * y + 3.0);

with cc1 -O (yes, I cheated to make sure) I get

        .align  0
        .global _x
        .type    _x,%function
        @ args = 0, pretend = 0, frame = 0
        @ frame_needed = 1, current_function_anonymous_args = 0
        mov     ip, sp
        stmfd   sp!, {fp, ip, lr, pc}
        sub     fp, ip, #4
        bl      ___muldf3
        adr     r2, L2
        ldmia   r2, {r2-r3}
        bl      ___adddf3
        bl      _z
        ldmea   fp, {fp, sp, pc}
        .align  0
        .long 0x40080000, 0x0   @ double 3.00000000000000000000e0

Which is correct -soft-float output.  The problem is, I believe in the 
compilation of softfloat.c (I'll send a mail separately).