URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 322 |
Rev 338 |
/* { dg-do compile { target powerpc*-*-* } } */
|
/* { dg-do compile { target powerpc*-*-* } } */
|
/* { dg-require-effective-target powerpc_altivec_ok } */
|
/* { dg-require-effective-target powerpc_altivec_ok } */
|
/* { dg-options "-maltivec" } */
|
/* { dg-options "-maltivec" } */
|
|
|
#include <stdbool.h>
|
#include <stdbool.h>
|
#include <altivec.h>
|
#include <altivec.h>
|
|
|
#define f0(type) void x0##type (vector bool type x) { }
|
#define f0(type) void x0##type (vector bool type x) { }
|
f0 (int)
|
f0 (int)
|
|
|
#define f1(v, type) void x1##type (v bool type x) { }
|
#define f1(v, type) void x1##type (v bool type x) { }
|
f1 (vector, int)
|
f1 (vector, int)
|
|
|
#define f2(b, type) void x2##type (vector b type x) { }
|
#define f2(b, type) void x2##type (vector b type x) { }
|
f2 (bool, int)
|
f2 (bool, int)
|
|
|
#define f3(v, b, type) void x3##type (v b type x) { }
|
#define f3(v, b, type) void x3##type (v b type x) { }
|
f3 (vector, bool, int)
|
f3 (vector, bool, int)
|
|
|
#define f4(v, b, type) void x4##type (v type b x) { }
|
#define f4(v, b, type) void x4##type (v type b x) { }
|
f4 (vector, bool, int)
|
f4 (vector, bool, int)
|
|
|
#define B bool
|
#define B bool
|
#define I int
|
#define I int
|
#define BI bool int
|
#define BI bool int
|
#define VBI vector bool int
|
#define VBI vector bool int
|
|
|
vector bool int a;
|
vector bool int a;
|
vector B int b;
|
vector B int b;
|
vector B I c;
|
vector B I c;
|
vector BI d;
|
vector BI d;
|
VBI e;
|
VBI e;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.