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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [mmx-7.c] - Blame information for rev 691

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* PR middle-end/26379 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -mmmx" } */
4
 
5
#include <mmintrin.h>
6
 
7
void
8
foo (__m64 *p)
9
{
10
  __m64 m;
11
 
12
  m = p[0];
13
  m = _mm_srli_pi16(m, 2);
14
  m = _mm_slli_pi16(m, 8);
15
 
16
  p[0] = m;
17
  _mm_empty();
18
}

powered by: WebSVN 2.1.0

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