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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vmx/] [gcc-bug-d.c] - Rev 689

Compare with Previous | Blame | View Log

/* { dg-do compile } */
#include <altivec.h>
static void f() {}
extern void g() {}
extern vector unsigned char permute_128(vector unsigned char);
 
void foo()
{
  vector unsigned char input
    = {0,1,2,4,8,16,32,64,128,0,1,2,4,8,16,32};
  vector unsigned char result = permute_128(input);
  void (*p)() = f;
  void (*q)() = g;
}
 

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.