[ Moving discussion to tech-userlevel ]

> On Aug 5, 2026, at 7:03 PM, Nat Sloss <[email protected]> wrote:
> 
> Hi Jason,
>  > All M68040 configs require FPSP...
>  Not necessarily true if you prefer to run soft float.
>  My current kernel config has options M68030 and M68040 which I use with a 
> soft float userland.
>  Also I don't think FPSP is required for an LC040 when used with options 
> FPU_EMULATE.
>  Attached is my attempt at addressing this....It would mean changing every 
> existing instance of M68040 to options M68040HF :(

I was about to suggest - “just use ’no options FPSP’!”, but then I noticed that 
config(1) doesn’t handle that if the option is a depended-option.  Oops!

I think I’d like to make config(1) handle this case so that the implied FPSP / 
M060SP options work, but folks like yourself who want to elide it can do so.

Looks like the changes to config(1) will be small.  Because option dependencies 
are done as a separate pass after parsing the config file, what I’ll need to do 
is keep track of every option explicitly de-selected in the config file with a 
“no option” statement, and then consult that table when processing the 
depended-options.

Sound reasonable?

>   Removing FPSP on a kernel with FPU_EMULATE reduced the kernel size ~200kB 
> of much needed memory.
>   Best regards,
>   Nat
>   

Attachment: 040hf.diff
Description: Binary data

-- thorpej

Reply via email to