diff options
-rw-r--r-- | sys/gnu/i386/fpemul/poly_sin.c | 6 | ||||
-rw-r--r-- | sys/gnu/i386/fpemul/reg_compare.c | 8 | ||||
-rw-r--r-- | sys/gnu/i386/fpemul/reg_ld_str.c | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/gnu/i386/fpemul/poly_sin.c b/sys/gnu/i386/fpemul/poly_sin.c index fd3cbd2..a1aa11c 100644 --- a/sys/gnu/i386/fpemul/poly_sin.c +++ b/sys/gnu/i386/fpemul/poly_sin.c @@ -56,7 +56,7 @@ * W. Metzenthen June 1994. * * - * $Id: poly_sin.c,v 1.3 1994/04/29 21:23:30 gclarkii Exp $ + * $Id: poly_sin.c,v 1.4 1994/06/10 07:44:41 rich Exp $ * */ @@ -138,14 +138,14 @@ poly_sine(FPU_REG * arg, FPU_REG * result) accum.exp = 0; /* Do the basic fixed point polynomial evaluation */ - polynomial((u_int *) &(accum.sigl), &(Xx4.sigl), lterms, HIPOWER - 1); + polynomial((u_int *) &(accum.sigl), (u_int *)&(Xx4.sigl), lterms, HIPOWER - 1); /* will be a valid positive nr with expon = 0 */ *(short *) &(negaccum.sign) = 0; negaccum.exp = 0; /* Do the basic fixed point polynomial evaluation */ - polynomial((u_int *) &(negaccum.sigl), &(Xx4.sigl), negterms, HIPOWER - 1); + polynomial((u_int *) &(negaccum.sigl), (u_int *)&(Xx4.sigl), negterms, HIPOWER - 1); mul64((long long *) &(Xx2.sigl), (long long *) &(negaccum.sigl), (long long *) &(negaccum.sigl)); diff --git a/sys/gnu/i386/fpemul/reg_compare.c b/sys/gnu/i386/fpemul/reg_compare.c index a4f8ae7..b1c987a 100644 --- a/sys/gnu/i386/fpemul/reg_compare.c +++ b/sys/gnu/i386/fpemul/reg_compare.c @@ -56,7 +56,7 @@ * W. Metzenthen June 1994. * * - * $Id: reg_compare.c,v 1.2 1994/04/29 21:30:16 gclarkii Exp $ + * $Id: reg_compare.c,v 1.3 1994/06/10 07:44:47 rich Exp $ * */ @@ -183,7 +183,7 @@ compare(FPU_REG * b) int compare_st_data(void) { - int f, c; + int f = 0, c; c = compare(&FPU_loaded_data); @@ -224,7 +224,7 @@ compare_st_data(void) static int compare_st_st(int nr) { - int f, c; + int f = 0, c; if (!NOT_EMPTY_0 || !NOT_EMPTY(nr)) { setcc(SW_C3 | SW_C2 | SW_C0); @@ -271,7 +271,7 @@ compare_st_st(int nr) static int compare_u_st_st(int nr) { - int f, c; + int f = 0, c; if (!NOT_EMPTY_0 || !NOT_EMPTY(nr)) { setcc(SW_C3 | SW_C2 | SW_C0); diff --git a/sys/gnu/i386/fpemul/reg_ld_str.c b/sys/gnu/i386/fpemul/reg_ld_str.c index 4edaa9d..b253f9c 100644 --- a/sys/gnu/i386/fpemul/reg_ld_str.c +++ b/sys/gnu/i386/fpemul/reg_ld_str.c @@ -56,7 +56,7 @@ * W. Metzenthen June 1994. * * - * $Id: reg_ld_str.c,v 1.2 1994/04/29 21:30:20 gclarkii Exp $ + * $Id: reg_ld_str.c,v 1.3 1994/06/10 07:44:52 rich Exp $ * */ @@ -725,7 +725,7 @@ int reg_store_single(void) { float *single = (float *) FPU_data_address; - long templ; + long templ = 0; if (FPU_st0_tag == TW_Valid) { int exp; |