Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: more on proff crash building native



fyi: I looked at the diffs between the trunk and netbsd-3 for
src/lib/libm/arch/vax/n_sqrt.S and applied just the branch fix (below).

I then rebuild it all (in cross compile) and installed.  Now my
test program passes. I think this fixes the groff crash.  I'll try
a native build next.

Can we get this applied to netbsd-3 & netbsd-4 or is that considered a
waste of time?



--- n_sqrt.S.orig       2009-02-11 07:47:08.000000000 -0500
+++ n_sqrt.S    2009-02-11 07:47:32.000000000 -0500
@@ -54,15 +54,15 @@

 dsqrt2:        bicw3   $0x807f,%r0,%r2 # check exponent of input
        jeql    noexp           # biased exponent is zero -> 0.0 or reserved
-       bsbb    __libm_dsqrt_r5_lcl+2
+       bsbb    __libm_dsqrt_r5_lcl
 noexp: ret

 /* **************************** internal procedure */

-__libm_dsqrt_r5_lcl:
 ALTENTRY(__libm_dsqrt_r5)
-       nop
-       nop
+       halt
+       halt
+__libm_dsqrt_r5_lcl:
                                /* ENTRY POINT FOR cdabs and cdsqrt     */
                                /* returns double square root scaled by */
                                /* 2^%r6        */


Home | Main Index | Thread Index | Old Index