Example #1
0
void
foo (void)
{
  int i_vuc = vec_step (vuc);
  int i_vsc = vec_step (vsc);
  int i_vbc = vec_step (vbc);
  int i_vus = vec_step (vus);
  int i_vss = vec_step (vss);
  int i_vbs = vec_step (vbs);
  int i_vui = vec_step (vui);
  int i_vsi = vec_step (vsi);
  int i_vbi = vec_step (vbi);
  int i_vp = vec_step (vp);
  int i_vf = vec_step (vf);
  int i_cvuc = vec_step (cvuc);
  int i_cvsc = vec_step (cvsc);
  int i_cvbc = vec_step (cvbc);
  int i_cvus = vec_step (cvus);
  int i_cvss = vec_step (cvss);
  int i_cvbs = vec_step (cvbs);
  int i_cvui = vec_step (cvui);
  int i_cvsi = vec_step (cvsi);
  int i_cvbi = vec_step (cvbi);
  int i_cvp = vec_step (cvp);
  int i_cvf = vec_step (cvf);
}
Example #2
0
void test_vec_step(vector short arg1) {
  vector bool char vbc;
  vector signed char vsc;
  vector unsigned char vuc;
  vector bool short vbs;
  vector short vs;
  vector unsigned short vus;
  vector pixel vp;
  vector bool int vbi;
  vector int vi;
  vector unsigned int vui;
  vector float vf;

  vector int *pvi;

  int res1[vec_step(arg1) == 8 ? 1 : -1];
  int res2[vec_step(vbc) == 16 ? 1 : -1];
  int res3[vec_step(vsc) == 16 ? 1 : -1];
  int res4[vec_step(vuc) == 16 ? 1 : -1];
  int res5[vec_step(vbs) == 8 ? 1 : -1];
  int res6[vec_step(vs) == 8 ? 1 : -1];
  int res7[vec_step(vus) == 8 ? 1 : -1];
  int res8[vec_step(vp) == 8 ? 1 : -1];
  int res9[vec_step(vbi) == 4 ? 1 : -1];
  int res10[vec_step(vi) == 4 ? 1 : -1];
  int res11[vec_step(vui) == 4 ? 1 : -1];
  int res12[vec_step(vf) == 4 ? 1 : -1];
  int res13[vec_step(*pvi) == 4 ? 1 : -1];
}