OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [vmx/] [8-02a.c] - Rev 327

Go to most recent revision | Compare with Previous | Blame | View Log

#include "harness.h"
 
extern vector pixel p16;
extern vector pixel const p16c;
extern vector pixel volatile p16v;
extern const vector pixel p16c_;
extern volatile vector pixel p16v_;
 
static void test()
{
  int i_p16 = vec_step(p16);
  int i_p16c = vec_step(p16c);
  int i_p16v = vec_step(p16v);
  int i_p16c_ = vec_step(p16c_);
  int i_p16v_ = vec_step(p16v_);
  check((i_p16 + i_p16c + i_p16v + i_p16c_ + i_p16v_) == 40, "vec_step");
}
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.