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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 318 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -msse2" } */
3
/* { dg-require-effective-target sse2 } */
4
/* { dg-final { scan-assembler "cmpunordss" } } */
5
/* { dg-final { scan-assembler "cmpunordps" } } */
6
/* { dg-final { scan-assembler "cmpunordsd" } } */
7
/* { dg-final { scan-assembler "cmpunordpd" } } */
8
/* { dg-final { scan-assembler-not "cmpordss" } } */
9
/* { dg-final { scan-assembler-not "cmpordps" } } */
10
/* { dg-final { scan-assembler-not "cmpordsd" } } */
11
/* { dg-final { scan-assembler-not "cmpordpd" } } */
12
 
13
#include <emmintrin.h>
14
 
15
__m128
16
f1 (__m128 x, __m128 y)
17
{
18
  return _mm_cmpunord_ss (x, y);
19
}
20
 
21
__m128
22
f2 (__m128 x, __m128 y)
23
{
24
  return _mm_cmpunord_ps (x, y);
25
}
26
 
27
__m128d
28
f3 (__m128d x, __m128d y)
29
{
30
  return _mm_cmpunord_sd (x, y);
31
}
32
 
33
__m128d
34
f4 (__m128d x, __m128d y)
35
{
36
  return _mm_cmpunord_pd (x, y);
37
}

powered by: WebSVN 2.1.0

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