This is the mail archive of the gcc-bugs@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]

[Bug target/43743] Dumb use of SSE regs for MMX operation



------- Comment #4 from ian at airs dot com  2010-04-19 17:08 -------
Staying away from MMX registers is not an option here.  This code is reduced
from some code in Chrome.  Chrome is trying to provide several different
routines which do the same thing but which run on different processors.  The
MMX code is for use on processors which only support MMX.

I've recommended that the compile the code in different source files, although
that is apparently complex for some reason.  In any case, this seems to me like
a clear bug: using MMX intrinsics should cause the use of MMX registers.  One
simple approach here would be to avoid using the same define_insn for both MMX
and SSE.

If it is not going to be fixed, then it should be documented.  The docs should
say something like "if you use <mmintrin.h>, compile with -mno-sse."


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43743


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