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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [compat/] [vector-1_x.c] - Rev 853

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

/* { dg-options "-w" } */
 
#ifndef SKIP_ATTRIBUTE
 
#include "compat-common.h"
#include "vector-defs.h"
#include "vector-setup.h"
 
SETUP (8, qi);
SETUP (16, qi);
SETUP (2, hi);
SETUP (4, hi);
SETUP (8, hi);
SETUP (2, si);
SETUP (4, si);
SETUP (1, di);
SETUP (2, di);
 
#endif
 
void
vector_1_x (void)
{
#ifndef SKIP_ATTRIBUTE
  DEBUG_INIT
 
  CHECK (8, qi);
  CHECK (16, qi);
  CHECK (2, hi);
  CHECK (4, hi);
  CHECK (8, hi);
  CHECK (2, si);
  CHECK (4, si);
  CHECK (1, di);
  CHECK (2, di);
 
  DEBUG_FINI
 
  if (fails != 0)
    abort ();
#endif
}
 

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.