This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

SIMD-enabled and -lpthread incompatible?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]