Subject: Re: -DSOFTFLOAT && -DNOFPU
To: None <port-mips@netbsd.org>
From: Toru Nishimura <nisimura@itc.aist-nara.ac.jp>
List: port-mips
Date: 04/17/2000 14:16:11
>> So, I'm writing codes don't require NOFPU/SOFTFLOAT for kernel
>> configuration.
>
> I'm curious about two things,
>
> One, How do you get over NOFPU in locore.S ?
>
> start:
> _C_LABEL(kernel_text):
>        mtc0    zero, MIPS_COP_0_STATUS         # Disable interrupts
>    /* SNIP */
> #ifndef NOFPU /* No FPU; avoid touching FPU registers */
>        li      t0, 0                           # Disable interrupts and
>        mtc0    t0, MIPS_COP_0_STATUS           # the fp coprocessor
> #else

I guess Vr4100/TX3900 has CU1 bit in status register as hardwired
zero, right, or wrong?

Tohru Nishimura