URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [gcc.dg/] [vmx/] [7d-02.c] - Rev 839
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ #include <altivec.h> extern vector unsigned char a[]; void f (vector unsigned char v, vector unsigned char *p, int i, int b) { if (b) p[i] = v; else vec_st(v, i*16,p); } void g (vector unsigned char v, int i, int b) { if (b) a[i] = v; else vec_st(v,i*16,a); }
Go to most recent revision | Compare with Previous | Blame | View Log