Hello people, i've a question.

"Is it safe the code generation when GCC is using the options
   -lpthread and -mmmx -msse -msse2 -msse3 -msse4?"

The GNU Portable Threads (of -lpthread) uses longjmp/setjmp that
saves general purpose registers but not SIMD registers.

GCC should to print warning or the user should to use the options
-lpthread -mno-sse4 -mno-sse3 -mno-sse2 -mno-sse -mno-mmx -mno-3dnow

Does GCC recognize this unsafe situation?

Sincerely, J.C.Pizarro

Reply via email to