diff options
author | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
---|---|---|
committer | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
commit | 554fd8c5195424bdbcabf5de30fdc183aba391bd (patch) | |
tree | 976dc5ab7fddf506dadce60ae936f43f58787092 /gcc/testsuite/gcc.dg/vmx/1b-02.c | |
download | cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2 cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz |
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig;
imported gcc-4.6.4 source tree from verified upstream tarball.
downloading a git-generated archive based on the 'upstream' tag
should provide you with a source tree that is binary identical
to the one extracted from the above tarball.
if you have obtained the source via the command 'git clone',
however, do note that line-endings of files in your working
directory might differ from line-endings of the respective
files in the upstream repository.
Diffstat (limited to 'gcc/testsuite/gcc.dg/vmx/1b-02.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/vmx/1b-02.c | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/vmx/1b-02.c b/gcc/testsuite/gcc.dg/vmx/1b-02.c new file mode 100644 index 000000000..2f9aca5da --- /dev/null +++ b/gcc/testsuite/gcc.dg/vmx/1b-02.c @@ -0,0 +1,61 @@ +/* { dg-do compile } */ +#include <altivec.h> +vector unsigned char u8; +vector signed char s8; +vector bool char b8; +vector unsigned short u16; +vector signed short s16; +vector bool short b16; +vector unsigned int u32; +vector signed int s32; +vector bool int b32; +vector float f32; +vector pixel p16; + +vector unsigned char const u8c; +vector signed char const s8c; +vector bool char const b8c; +vector unsigned short const u16c; +vector signed short const s16c; +vector bool short const b16c; +vector unsigned int const u32c; +vector signed int const s32c; +vector bool int const b32c; +vector float const f32c; +vector pixel const p16c; + +vector unsigned char volatile u8v; +vector signed char volatile s8v; +vector bool char volatile b8v; +vector unsigned short volatile u16v; +vector signed short volatile s16v; +vector bool short volatile b16v; +vector unsigned int volatile u32v; +vector signed int volatile s32v; +vector bool int volatile b32v; +vector float volatile f32v; +vector pixel volatile p16v; + +const vector unsigned char u8c_; +const vector signed char s8c_; +const vector bool char b8c_; +const vector unsigned short u16c_; +const vector signed short s16c_; +const vector bool short b16c_; +const vector unsigned int u32c_; +const vector signed int s32c_; +const vector bool int b32c_; +const vector float f32c_; +const vector pixel p16c_; + +volatile vector unsigned char u8v_; +volatile vector signed char s8v_; +volatile vector bool char b8v_; +volatile vector unsigned short u16v_; +volatile vector signed short s16v_; +volatile vector bool short b16v_; +volatile vector unsigned int u32v_; +volatile vector signed int s32v_; +volatile vector bool int b32v_; +volatile vector float f32v_; +volatile vector pixel p16v_; |