floating-point exception handling?

Bernhard Fischer rep.dot.nop at gmail.com
Thu Jan 17 21:42:48 UTC 2008


On Thu, Jan 17, 2008 at 10:38:53PM +0100, Bernhard Fischer wrote:
>Hi,
>
>For gcc on pentium4 i need fenv.h which the attached patch adds.
>It is completely untested, does anyone spot some obvious error?
>
>I intend to commit it tomorrow.

[sent too early]

PS: roughly as below, i've dropped the SSE stuff for now.
   text    data     bss     dec     hex filename
     74       0       0      74      4a i386/fclrexcpt.os
     80       0       0      80      50 i386/fedisblxcpt.os
     82       0       0      82      52 i386/feenablxcpt.os
     60       0       0      60      3c i386/fegetenv.os
     65       0       0      65      41 i386/fegetexcept.os
     63       0       0      63      3f i386/fegetround.os
     86       0       0      86      56 i386/feholdexcpt.os
    256       0       0     256     100 i386/fesetenv.os
     95       0       0      95      5f i386/fesetround.os
     83       0       0      83      53 i386/feupdateenv.os
     73       0       0      73      49 i386/fgetexcptflg.os
    141       0       0     141      8d i386/fraiseexcpt.os
     91       0       0      91      5b i386/fsetexcptflg.os
     65       0       0      65      41 i386/ftestexcept.os
   1314       0       0    1314     522 (TOTALS)




More information about the uClibc mailing list