Skip to contentSkip to conversation

Use of floating point in the kernel

DISCUSSION Andi Kleen 1 participant 1 message Jan 8, 2004 3 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

Andi Kleen

author
#3 lore raw
Quoted 6 lines · Dave Jones
Quoted 2 lines · H. Peter Anvin

Has anyone considered asking the gcc people to add an -fno-fpu (or -mno-fpu) option, throwing an error if any FP instructions are used?

building with -msoft-float gets you this.

I think they will need an -fno-fpu option for the kernel at some point anyways. As soon as gcc starts using SSE2 registers for integer operations on SSE2 targets. My impression is that this point isn't that far away anymore.

-Andi