platform_system_core/libacc/tests
Jack Palevich 9221bcccb3 Preliminary struct and union support.
Working features:
 - struct
 - union
 - nested structs
 - anonymous structs
 - forward declarations
 - '.' and '->'
 - copying structs using '='

Missing features:
 - passing structs by value
 - returning structs by value
 - typedef
 - sizeof

Example:

struct v {float x, y, z, w; };

void add(struct v* result, struct v* a, struct v* b) {
    result->x = a->x + b->x;
    result->y = a->y + b->y;
    result->z = a->z + b->z;
    result->w = a->w + b->w;
}

Reworked size-of and alignment logic to support structs.

Improved encoding of ARM immediate constants.
2009-08-26 16:15:07 -07:00
..
data Preliminary struct and union support. 2009-08-26 16:15:07 -07:00
.gitignore Convert libacc into a shared library. 2009-05-22 12:09:55 -07:00
Android.mk Add accRegisterSymbolCallback API to control external symbol linkage. 2009-07-14 21:14:10 -07:00
main.cpp Add accRegisterSymbolCallback API to control external symbol linkage. 2009-07-14 21:14:10 -07:00
runtimeTest.cpp Add support for "short" data type. 2009-08-03 14:42:57 -07:00
test Allow parenthesized expressions as the value of defines 2009-08-18 16:04:03 -07:00
test.py Preliminary struct and union support. 2009-08-26 16:15:07 -07:00