This is the mail archive of the gcc-patches@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] |
On Fri, Dec 12, 2003 at 04:41:43PM -0800, Stuart Hastings wrote:This looks like a typo that crept into several similar vector instruction patterns. Currently, MMX/SSE shifts by an immediate value ICE.
Patch is ok.
Test cases need to either be compile-only or have a runtime test for no sse available. There's code for the later in the testsuite already -- see gcc.dg/20020523-2.c.
r~
One question: would you prefer I cut&paste the CPU detection code from
20020523-2.c, or would you like to see it factored into a shared header
file ? Suggestions, please.
A header file would be nice; dunno how that interacts with the rest of dejagnu, however.
r~
stuart hastings Apple Computer
Attachment:
gcc.fsf.diffs.txt
Description: Text document
Attachment:
i386-sse-5.c
Description: Text document
Attachment:
i386-cpuid.h
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |