Skip to contentSkip to conversation

Noob question. Why is the for-pentium4 kernel built with -march=i686 ?

DISCUSSION Bodo Eggert 3 participants 3 messages Jul 19, 2005 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]

#3 lore raw
Quoted 6 lines · Ivan Yosifov

-march implies -mtune and also implies thing like -msse2 for the instruction set where applicable.
I think -march=pentium4 is equivalent to -mmmx -msse -msse2 -mtune=pentium4 ( if I have not fogotten anything ). Pentium4 supports things like sse2 and mmx which AFAIK plain i686 does not.

AFAIK it's not possible to use SSE and MME in kernel mode, since these registers aren't preserved (it would be expensive).

Signature · 2 lines
Ich danke GMX dafür, die Verwendung meiner Adressen mittels per SPF
verbreiteten Lügen zu sabotieren.
#4 lore raw
Quoted 3 lines

AFAIK it's not possible to use SSE and MME in kernel mode, since these registers aren't preserved (it would be expensive).

Floating point is anyway a no-no in the kernel.

Jan Engelhardt

Signature · 1 line
| Alphagate Systems, http://alphagate.hopto.org/
#5 lore raw
Quoted 4 lines · Jan Engelhardt
Quoted 2 lines

AFAIK it's not possible to use SSE and MME in kernel mode, since these registers aren't preserved (it would be expensive).

Floating point is anyway a no-no in the kernel.

However, there are a few exceptions like mmx_memcpy.

Lee