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/] [pr36438.c] - Rev 318

Compare with Previous | Blame | View Log

/* { dg-do compile } */
/* { dg-options "-O2 -mmmx" } */
 
#include <mmintrin.h>
 
extern __m64 SetS16 (unsigned short, unsigned short,
		     unsigned short, unsigned short);
 
void foo(__m64* dest)
{
  __m64 mask = SetS16 (0x00FF, 0xFF00, 0x0000, 0x00FF);
 
  mask = _mm_slli_si64(mask, 8);
  mask = _mm_slli_si64(mask, 8);
 
  *dest = mask;
 
  _mm_empty ();
}
 

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.