lkml.org 
[lkml]   [2003]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectcontext switch code question
From
Date
Can someone please point me to the context switching code. I am
interested in the context switch structure and the values that are
saved. I am chasing a weird problem with some numerical code that uses
mmx instructions to get flush to zero to work. Specifically I am calling
the

_MM_SET_FLUSH_TO_ZERO_MODE

macro which in turn ends up calling _mm_setcsr(), wherever that might be
implemented.

What I am trying to figure out is a.) is this register value properly
set/reset during context switch and b.) is this particular register
properly transfered when the process gets moved to another CPU.

I assume that this is a configurable option in the kernel since PII and
Pentium do not have this instruction, and thus it could just be that my
kernel is not configured correctly.

I tried to find this type of info without posting but failed.

Thanks,
Robert
--
Robert Schweikert <Robert.Schweikert@abaqus.com>
ABAQUS
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.026 / U:0.876 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site