mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-21 08:03:41 +08:00
* gcc.dg/i386-mmx-3.c: New test.
From-SVN: r61275
This commit is contained in:
parent
4b5f402e2d
commit
ab5496c403
@ -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.
|
||||
|
17
gcc/testsuite/gcc.dg/i386-mmx-3.c
Normal file
17
gcc/testsuite/gcc.dg/i386-mmx-3.c
Normal 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user