URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vmx/] [5-03.c] - Rev 774
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ #include <altivec.h> vector unsigned char u8 = {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}; vector signed char s8 = {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}; vector bool char b8 = {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}; vector unsigned short u16 = {1,1,1,1,1,1,1,1}; vector signed short s16 = {1,1,1,1,1,1,1,1}; vector bool short b16 = {1,1,1,1,1,1,1,1}; vector unsigned int u32 = {1,1,1,1}; vector signed int s32 = {1,1,1,1}; vector bool int b32 = {1,1,1,1}; vector float f32 = {1,1,1,1}; vector pixel p16 = {1,1,1,1,1,1,1,1}; vector unsigned char u8_ = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16}; vector signed char s8_ = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16}; vector bool char b8_ = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16}; vector unsigned short u16_ = {1,2,3,4,5,6,7,8}; vector signed short s16_ = {1,2,3,4,5,6,7,8}; vector bool short b16_ = {1,2,3,4,5,6,7,8}; vector unsigned int u32_ = {1,2,3,4}; vector signed int s32_ = {1,2,3,4}; vector bool int b32_ = {1,2,3,4}; vector float f32_ = {1,2,3,4}; vector pixel p16_ = {1,2,3,4,5,6,7,8};
Go to most recent revision | Compare with Previous | Blame | View Log