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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr36438.c] - Blame information for rev 704

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

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -mmmx" } */
3
 
4
#include <mmintrin.h>
5
 
6
extern __m64 SetS16 (unsigned short, unsigned short,
7
                     unsigned short, unsigned short);
8
 
9
void foo(__m64* dest)
10
{
11
  __m64 mask = SetS16 (0x00FF, 0xFF00, 0x0000, 0x00FF);
12
 
13
  mask = _mm_slli_si64(mask, 8);
14
  mask = _mm_slli_si64(mask, 8);
15
 
16
  *dest = mask;
17
 
18
  _mm_empty ();
19
}

powered by: WebSVN 2.1.0

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