This is the mail archive of the
mailing list for the GCC project.
RE: PATCH: Add SSSE3 builtin tests
- From: "Meissner, Michael" <michael dot meissner at amd dot com>
- To: "Roger Sayle" <roger at eyesopen dot com>, "H. J. Lu" <hjl at lucon dot org>
- Cc: janis187 at us dot ibm dot com, gcc-patches at gcc dot gnu dot org
- Date: Mon, 18 Dec 2006 16:01:08 -0500
- Subject: RE: PATCH: Add SSSE3 builtin tests
> -----Original Message-----
> From: email@example.com
> On Behalf Of Roger Sayle
> Sent: Sunday, December 17, 2006 11:29 AM
> To: H. J. Lu
> Cc: firstname.lastname@example.org; email@example.com
> Subject: Re: PATCH: Add SSSE3 builtin tests
> Hi H.J.,
> On Tue, 5 Dec 2006, H. J. Lu wrote:
> > * gcc.target/i386/ssse3-pabsb.c: New file.
> > * gcc.target/i386/ssse3-pabsd.c: Likewise.
> > * gcc.target/i386/ssse3-pabsw.c: Likewise.
> > * gcc.target/i386/ssse3-palignr.c: Likewise.
> > * gcc.target/i386/ssse3-phaddd.c: Likewise.
> > * gcc.target/i386/ssse3-phaddsw.c: Likewise.
> > * gcc.target/i386/ssse3-phaddw.c: Likewise.
> > * gcc.target/i386/ssse3-phsubd.c: Likewise.
> > * gcc.target/i386/ssse3-phsubsw.c: Likewise.
> > * gcc.target/i386/ssse3-phsubw.c: Likewise.
> > * gcc.target/i386/ssse3-pmaddubsw.c: Likewise.
> > * gcc.target/i386/ssse3-pmulhrsw.c: Likewise.
> > * gcc.target/i386/ssse3-pshufb.c: Likewise.
> > * gcc.target/i386/ssse3-psignb.c: Likewise.
> > * gcc.target/i386/ssse3-psignd.c: Likewise.
> > * gcc.target/i386/ssse3-psignw.c: Likewise.
> > * gcc.target/i386/ssse3-vals.h: Likewise.
> Many (all?) of these tests are failing for me on i686-pc-linux-gnu on
> RedHat 4.3, due to the new SSSE3 instructions not being recognized by
> the native assembler, based upon binutils 184.108.40.206.2.
> /tmp/ccBMbto1.s: Assembler messages:
> /tmp/ccBMbto1.s:66: Error: no such instruction: `pabsd (%eax),%mm0'
> /tmp/ccBMbto1.s:148: Error: no such instruction: `pabsd
> FAIL: gcc.target/i386/ssse3-pabsd.c (test for excess errors)
> We either need to make these compile only tests when assembler support
> isn't available, or do something similar to what we do with
> HAVE_AS_IX86_FFREEP, where the compiler emits .word directives
> for assemblers that don't support the new mnemonics (such as the
> Solaris native assembler and older versions on binutils).
> I've run into unrelated problems with binutils 2.17, so recommending
> that we force folks to upgrade to a recent binutils purely to run
> these tests might be controversial.
> Is anyone else seeing similar problems?
We likely will have a similar problem when we merge in the AMDFAM10
AMD, MS 83-29
90 Central Street
Boxborough, MA 01719