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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [pr49318.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-require-effective-target vect_int } */
3
/* { dg-require-effective-target vect_float } */
4
 
5
typedef enum { GL_FALSE } GLenum;
6
typedef unsigned char GLboolean;
7
typedef int GLint;
8
typedef unsigned int GLuint;
9
typedef float GLfloat;
10
typedef double GLdouble;
11
typedef struct gl_context GLcontext;
12
struct gl_context {
13
  GLfloat TextureMatrix[16];
14
  GLenum Primitive;
15
};
16
void gl_GetDoublev( GLcontext *ctx, GLenum pname, GLdouble *params ) {
17
  GLuint i;
18
  for (i=0; i<16; i++)
19
    params[i] = (GLint) ctx->TextureMatrix[i];
20
}
21
 
22
/* { dg-final { cleanup-tree-dump "vect" } } */

powered by: WebSVN 2.1.0

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