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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.dg/] [vmx/] [3a-07.c] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
#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.