OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [20020531-1.c] - Rev 328

Go to most recent revision | Compare with Previous | Blame | View Log

/* PR optimization/6842
   This testcase caused ICE when trying to optimize V8QI subreg of VOIDmode
   CONST_DOUBLE.  */
/* { dg-do compile } */
/* { dg-options "-O2 -mmmx" } */
 
typedef char __v8qi __attribute__ ((vector_size (8)));
extern void abort (void);
extern void exit (int);
 
void foo (void)
{
  unsigned long long a = 0x0102030405060708LL;
  unsigned long long b = 0x1020304050607080LL;
  unsigned long long c;
 
  c = (unsigned long long) __builtin_ia32_paddusb ((__v8qi) a, (__v8qi) b);
  __builtin_ia32_emms ();
  if (c != 0x1122334455667788LL)
    abort ();
}
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.