Erwin Rol wrote:
>
> First i would appolegize if this mail got to the
> list already cause i send it vefore, but it seemed to be
> some prob with the list, but anyway here we go (again :-)
>
> Is it possible to just mark a RT-task and than use MMX instructions in
> it. I will not be using floating point, just MMX (i need to make a
> large number of addtions). Are there any special things to take care of
> ?
Hi,
as the MMX instructions use the FP stacks like MMX registers ( MM0-MM7
),
you need to initiate your rt-tasks as a fp-using tasks.
Like that , the registers will be saved while switching context.
Don't forget to use EMMS to clean the MMX registers before using FP and
don't merge FP instructions and MMX instructions in your thread.
I use MMX instructions in some threads and that seems to work without
any problems.
Good Luck.
--
Kumsta Christophe
<[EMAIL PROTECTED]>
Real-Time System developper
RT-Linux ( Use the Source Luck ! )
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/