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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vmx/] [3a-07.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 689 jeremybenn
#include "harness.h"
2
 
3
static vector unsigned char
4
zero()
5
{
6
  /* MCC allocates a stack slot for and loads an uninitialized local
7
     variable.  */
8
  vector unsigned char a;
9
  return vec_sub(a,a);
10
}
11
 
12
static void test()
13
{
14
  static vector unsigned char zerov;
15
  check(vec_all_eq(zero(), zerov), "zero");
16
}

powered by: WebSVN 2.1.0

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