OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr18582-1.c] - Blame information for rev 300

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

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2
/* { dg-options "-msse3" } */
3
typedef char v16qi __attribute__((vector_size (16)));
4
typedef float v4sf __attribute__((vector_size (16)));
5
typedef double v2df __attribute__((vector_size (16)));
6
 
7
extern char ca[];
8
extern float fa[];
9
extern double da[];
10
 
11
extern v16qi cva[];
12
extern v4sf fva[];
13
extern v2df dva[];
14
 
15
void
16
foo (void)
17
{
18
  cva[0] = __builtin_ia32_loaddqu (ca);
19
  cva[0] = __builtin_ia32_lddqu (ca);
20
 
21
  fva[0] = __builtin_ia32_loadups (fa);
22
 
23
  dva[0] = __builtin_ia32_loadupd (da);
24
}

powered by: WebSVN 2.1.0

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