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/] [gcc-bug-d.c] - Blame information for rev 154

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

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile } */
2
#include <altivec.h>
3
static void f() {}
4
extern void g() {}
5
extern vector unsigned char permute_128(vector unsigned char);
6
 
7
void foo()
8
{
9
  vector unsigned char input
10
    = {0,1,2,4,8,16,32,64,128,0,1,2,4,8,16,32};
11
  vector unsigned char result = permute_128(input);
12
  void (*p)() = f;
13
  void (*q)() = g;
14
}

powered by: WebSVN 2.1.0

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