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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [i386/] [ordcmp-1.c] - Blame information for rev 825

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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