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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [vmx/] [8-02a.c] - Blame information for rev 856

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

Line No. Rev Author Line
1 149 jeremybenn
#include "harness.h"
2
 
3
extern vector pixel p16;
4
extern vector pixel const p16c;
5
extern vector pixel volatile p16v;
6
extern const vector pixel p16c_;
7
extern volatile vector pixel p16v_;
8
 
9
static void test()
10
{
11
  int i_p16 = vec_step(p16);
12
  int i_p16c = vec_step(p16c);
13
  int i_p16v = vec_step(p16v);
14
  int i_p16c_ = vec_step(p16c_);
15
  int i_p16v_ = vec_step(p16v_);
16
  check((i_p16 + i_p16c + i_p16v + i_p16c_ + i_p16v_) == 40, "vec_step");
17
}

powered by: WebSVN 2.1.0

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