Patch to set the OSFXSR bit of CR4
Linux should enable the ia32 "streaming SIMD" instructions (the PIII extensions of MMX). These instructions work on the Itanium processor under seamless. Currently Linux disables them by clearing the OSFXSR bit of CR4.
Here's the patch for linux R2.4.5.
- David Robboy
include/asm-ia64/ia32.h
373c373
< #define IA32_CR4 0 /* No architectural extensions */
---
Quoted 1 line
#define
IA32_CR4(1 << 9) /* Set OSFXSR to enable streaming
SIMD */
It is already enabled in 2.4.7 kernel.
Thanks,
Asit
Quoted 32 lines
-----Original Message-----
From: Robboy, David G [mailto:[email protected]]
Sent: Tuesday, July 31, 2001 3:58 PM
To: '[email protected]'
Subject: [Linux-ia64] Patch to set the OSFXSR bit of CR4Linux should enable the ia32 "streaming SIMD" instructions (the PIII extensions of MMX). These instructions work on the Itanium processor under
seamless. Currently Linux disables them by clearing the OSFXSR bit of CR4.Here's the patch for linux R2.4.5.
- David Robboy
include/asm-ia64/ia32.h
373c373
< #defineIA32_CR40 /* No architectural
extensions */
---Quoted 1 line
#define
IA32_CR4(1 << 9) /* Set OSFXSR toenable streaming
SIMD */_______________________________________________
Linux-IA64 mailing list
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64