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/] [mmx-7.c] - Blame information for rev 318

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 318 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.