lkml.org 
[lkml]   [1999]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRE: PATCH: (on Alpha) emulating missing instructions
On Fri, 15 Oct 1999, Jones D (ISaCS) wrote:

>
> > > We already have FPU emulation in kernel, and there
> > That should probably have been in userspace.
>
> That could be a worthwhile project at some point, as
> that's a fair amount of code. The only thing that concerns
> me, is that is the FP emulation code there to allow booting
> on 386s with no FPU ?
>
> Ie, without it, will the kernel boot on a PC without an FPU ?
>
If it doesn't it means the "no floats in kernel" rule has been
grossly broken. I don't see anything here that would prevent
the kernel from booting.

/usr/src/linux/drivers/net/hamradio/soundmodem/gentbl.c:static const float fsk96_tx_coeff_4[32] = {
/usr/src/linux/drivers/net/hamradio/soundmodem/gentbl.c:static const float fsk96_tx_coeff_5[40] = {
/usr/src/linux/drivers/net/hamradio/soundmodem/gentbl.c:static inline float hamming(float x)
/usr/src/linux/drivers/net/hamradio/soundmodem/gentbl.c:static inline float sinc(float x)
/usr/src/linux/drivers/net/hamradio/soundmodem/gentbl.c: float s;
/usr/src/linux/drivers/net/hamradio/soundmodem/gentbl.c: float c[44];
/usr/src/linux/drivers/net/hamradio/soundmodem/gentbl.c: float min, max;
/usr/src/linux/drivers/net/hamradio/soundmodem/gentbl.c: float window[AFSK26_DEMCORRLEN*AFSK26_RXOVER];
/usr/src/linux/drivers/net/hamradio/soundmodem/gentbl.c: window[i] = AFSK26_WINDOW(((float)i)/(AFSK26_DEMCORRLEN*
/usr/src/linux/drivers/net/hamradio/soundmodem/gentbl.c: x = atan(i / (float)ATAN_TABLEN) / M_PI * 0x8000;
/usr/src/linux/drivers/net/hamradio/soundmodem/gentbl.c:static const float psk48_tx_coeff[80] = {
/usr/src/linux/drivers/net/hamradio/soundmodem/gentbl.c:static const float psk48_rx_coeff[PSK48_RXF_LEN] = {
/usr/src/linux/drivers/net/hamradio/soundmodem/gentbl.c: float s;
/usr/src/linux/drivers/net/hamradio/soundmodem/gentbl.c: float c[44];
/usr/src/linux/drivers/net/hamradio/soundmodem/gentbl.c: float min, max;
/usr/src/linux/drivers/net/hamradio/soundmodem/gentbl.c:static void gentbl_afsk2400(FILE *f, float tcm3105clk)
/usr/src/linux/drivers/net/hamradio/soundmodem/gentbl.c:#define WINDOW(x) hamming((float)(x)/(AFSK24_CORRLEN-1.0))
/usr/src/linux/drivers/char/ftape/compressor/lzrw3.h: #define REAL double /* USed for floating point stuff. */
/usr/src/linux/drivers/char/ftape/compressor/lzrw3.h: #define REAL not used /* USed for floating point stuff. */
/usr/src/linux/drivers/char/msp3400.c:#define MSP_CARRIER(freq) ((int)((float)(freq/18.432)*(1<<24)))
/usr/src/linux/drivers/char/radio-gemtek.c:/* freq = 78.25*((float)freq/16000.0 + 10.52); */
/usr/src/linux/drivers/video/cyberfb.c: float freq_f;
/usr/src/linux/drivers/video/cyberfb.c: freq_f = (1.0 / (float) video_mode->pixclock) * 1000000000;
/usr/src/linux/include/linux/ppp_defs.h: double ratio; /* not computed in kernel. */
/usr/src/linux/include/linux/coda_proc.h:double get_time_average( const struct coda_upcall_stats_entry * pentry );
/usr/src/linux/include/linux/coda_proc.h:double get_time_std_deviation( const struct coda_upcall_stats_entry * pentry );
/usr/src/linux/include/asm-i386/bugs.h:static double __initdata x = 4195835.0;
/usr/src/linux/include/asm-i386/bugs.h:static double __initdata y = 3145727.0;
/usr/src/linux/drivers/net/hamradio/soundmodem/gentbl.c:#define ARGLO(x) 2.0*M_PI*(double)x*(double)AFSK12_TX_FREQ_LO/(double)AFSK12_SAMPLE_RATE
/usr/src/linux/drivers/net/hamradio/soundmodem/gentbl.c:#define ARGHI(x) 2.0*M_PI*(double)x*(double)AFSK12_TX_FREQ_HI/(double)AFSK12_SAMPLE_RATE
/usr/src/linux/drivers/net/hamradio/soundmodem/gentbl.c:#define ARGLO(x) 2.0*M_PI*(double)x*(tcm3105clk/3694.0)/(double)AFSK24_SAMPLERATE
/usr/src/linux/drivers/net/hamradio/soundmodem/gentbl.c:#define ARGHI(x) 2.0*M_PI*(double)x*(tcm3105clk/2015.0)/(double)AFSK24_SAMPLERATE
/usr/src/linux/drivers/char/ftape/compressor/lzrw3.h: #define REAL double /* USed for floating point stuff. */
/usr/src/linux/drivers/ap1000/plc.h: double link_error_rate;


--
Daniel Taylor Senior Test Engineer Digi International
danielt@digi.com Open systems win.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.564 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site