[Rtai] SSE register return with SSE disabled

Paolo Mantegazza mantegazza at aero.polimi.it
Tue Jan 12 13:08:11 CET 2010


Jan Frohn wrote:
> Dear list,
> 
> after updating to RTAI 3.7.1 on X86_64 (from RTAI 3.3 on X86) I got the
> compile error "SSE register return with SSE disabled". This happens e.g.
> in showroom kern/latency/latency.c and in my own modules. GCC version is
> 4.3. RTAI is configured to use FPU and without math support (but with
> math support enabled it is the same).
> 
> It happens for example at a simple multiplication of two floats.
> 
> I can get rid of he compiler error by specifying -msse to the compiler
> but I m not sure whether the SSE context is saved and restored by RTAI's
> fpu support.
> 
> Any ideas?
> 

Just one thought more.
The only difference there is between user latency and all of the other 
test in the testsuite is the use of floating point operations. So, apart 
from trying the experienced Felix's (Frey) suggestion, it should be 
interesting to correct the user latency test so to not use the FPU and 
report what happens.

paolo

> Jan
> 
> 
> --
> TECHNOCRANE
> Dr. Jan Frohn
> Simone-de-Beauvoir-Weg 15
> 79111 Freiburg
> Phone:      +49 176 32009340
> e-mail:     jan.frohn at supertechno.com
> _______________________________________________
> Rtai mailing list
> Rtai at rtai.org
> https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
> 



More information about the Rtai mailing list