Suppose that I'm writing a piece of code taht uses the FPU, in a SMP 
system, will be the two units used in paralell if I have two threads 
using them?   

I have a dual p200mmx so I have a total of two FPUs, my  
/proc/interrupts says 1   0   XT-PIC after a couple of sins and tans 
and so on, I don't know if I'm not  using the FPU or perhaps the 
kernel is using it "polling" I have read the gcc and libc info and 
man pages, and have tried flags like - march=pentium and something 
like -D__NO_MATH_INLINE but my interrupt counter stays at 1  0.    

The interrupt for the FPU is XT-PIC ; If I managed to use both FPUs  
how will the kernel know what FPU of what cpu isued the int??    

My 2.2.10 kernel is SMP aware and has no FPU emulation code. 



                 \_/,         _
                 |  @___oo   (  Jorge Nerin
       /\  /\   / (___,,,}_--~  
      ) /^\) ^\/ _)        ~__  [EMAIL PROTECTED]
      )   /^\/   _)          (_  
      )   _ /  / _)            ( [EMAIL PROTECTED]
  /\  )/\/ ||  | )_)            
 <  >      |(,,) )__)            
  ||      /    \)___)\             
  | \____(      )___) )___           
   \______(_______;;; __;;;

> Greeetings from Zaragoza (Spain)
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to