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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [mmx-5.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
/* PR rtl-optimization/17853 */
2
/* Contributed by Stuart Hastings <stuart@apple.com> */
3
/* { dg-do compile } */
4
/* { dg-options "-O2 -mmmx" } */
5
#include <mmintrin.h>
6
#include <stdlib.h>
7
 
8
__m64 global_mask;
9
 
10
int main()
11
{
12
    __m64 zero = _mm_setzero_si64();
13
    __m64 mask = _mm_cmpeq_pi8( zero, zero );
14
    mask = _mm_unpacklo_pi8( mask, zero );
15
    global_mask = mask;
16
    return 0;
17
}
18
 

powered by: WebSVN 2.1.0

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