* gcc.dg/i386-mmx-3.c: New test.

From-SVN: r61275
This commit is contained in:
Eric Botcazou 2003-01-14 11:35:02 +00:00
parent 4b5f402e2d
commit ab5496c403
2 changed files with 23 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2003-01-14 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/i386-mmx-3.c: New test.
2003-01-12 Mark Mitchell <mark@codesourcery.com>
PR c++/9264
@ -10,7 +14,7 @@
* gcc.dg/bf-ms-layout.c: Enable for cygwin and mingw32 targets.
* gcc.dg/bf-no-ms-layout.c: Likewise.
* gcc.dg/bf-ms-attrib.c: Likewise.
* gcc.dg/bf-ms-attrib.c: Likewise.
2003-01-10 Mark Mitchell <mark@codesourcery.com>
@ -25,7 +29,7 @@
PR c++/9171
* g++.dg/templ/spec5.C: New file.
2003-01-10 Josef Zlomek <zlomekj@suse.cz>
* gcc.c-torture/compile/20030110-1.c: New test.

View File

@ -0,0 +1,17 @@
/* PR target/8870 */
/* Originator: otaylor@redhat.com */
/* { dg-do compile { target i?86-*-* } } */
/* { dg-options "-O1 -mmmx -march=i686" } */
typedef int v4hi __attribute__ ((mode (V4HI)));
static inline v4hi cvtsi_v4hi (int i)
{
long long tmp = i;
return (v4hi) tmp;
}
v4hi bar (unsigned short a)
{
return cvtsi_v4hi (a);
}