patch-2.4.19 linux-2.4.19/arch/alpha/math-emu/math.c
Next file: linux-2.4.19/arch/alpha/mm/init.c
Previous file: linux-2.4.19/arch/alpha/lib/ev6-memset.S
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Fri Aug 2 17:39:42 2002
- Orig file:
linux-2.4.18/arch/alpha/math-emu/math.c
- Orig date:
Fri Sep 22 13:54:09 2000
diff -urN linux-2.4.18/arch/alpha/math-emu/math.c linux-2.4.19/arch/alpha/math-emu/math.c
@@ -220,12 +220,12 @@
FP_CONV(S,D,1,1,SR,DB);
goto pack_s;
} else {
- /* CVTST need do nothing else but copy the
- bits and repack. */
+ vb = alpha_read_fp_reg_s(fb);
+ FP_UNPACK_SP(SB, &vb);
DR_c = DB_c;
DR_s = DB_s;
DR_e = DB_e;
- DR_f = DB_f;
+ DR_f = SB_f << (52 - 23);
goto pack_d;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)