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/] [ordcmp-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 "cmpordss" } } */
5
/* { dg-final { scan-assembler "cmpordps" } } */
6
/* { dg-final { scan-assembler "cmpordsd" } } */
7
/* { dg-final { scan-assembler "cmpordpd" } } */
8
/* { dg-final { scan-assembler-not "cmpunordss" } } */
9
/* { dg-final { scan-assembler-not "cmpunordps" } } */
10
/* { dg-final { scan-assembler-not "cmpunordsd" } } */
11
/* { dg-final { scan-assembler-not "cmpunordpd" } } */
12
 
13
#include <emmintrin.h>
14
 
15
__m128
16
f1 (__m128 x, __m128 y)
17
{
18
  return _mm_cmpord_ss (x, y);
19
}
20
 
21
__m128
22
f2 (__m128 x, __m128 y)
23
{
24
  return _mm_cmpord_ps (x, y);
25
}
26
 
27
__m128d
28
f3 (__m128d x, __m128d y)
29
{
30
  return _mm_cmpord_sd (x, y);
31
}
32
 
33
__m128d
34
f4 (__m128d x, __m128d y)
35
{
36
  return _mm_cmpord_pd (x, y);
37
}

powered by: WebSVN 2.1.0

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