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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [vshuf-v4sf.c] - Blame information for rev 695

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

Line No. Rev Author Line
1 688 jeremybenn
#if __SIZEOF_FLOAT__ == 4
2
typedef float V __attribute__((vector_size(16)));
3
# if __SIZEOF_INT__ == 4
4
typedef unsigned int VI __attribute__((vector_size(16)));
5
# elif __SIZEOF_LONG__ == 4
6
typedef unsigned long VI __attribute__((vector_size(16)));
7
# else
8
#  define UNSUPPORTED
9
# endif
10
#else
11
# define UNSUPPORTED
12
#endif
13
 
14
#define A       0.69314718055994530942f
15
#define B       2.7182818284590452354f
16
#define C       2.30258509299404568402f
17
#define D       1.4426950408889634074f
18
 
19
#define W       0.31830988618379067154f
20
#define X       3.14159265358979323846f
21
#define Y       1.41421356237309504880f
22
#define Z       0.70710678118654752440f
23
 
24
#include "vshuf-4.inc"
25
#include "vshuf-main.inc"

powered by: WebSVN 2.1.0

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