android_system_core/libacc
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
..
tests Preliminary struct and union support. 2009-08-26 16:15:07 -07:00
acc.cpp Preliminary struct and union support. 2009-08-26 16:15:07 -07:00
Android.mk Improve local variable scoping. 2009-06-11 21:47:57 -07:00
armreg.h ARM codegen: Add disassembler, implement return 2009-05-13 19:51:03 -07:00
disassem.cpp ARM codegen: Add disassembler, implement return 2009-05-13 19:51:03 -07:00
disassem.h ARM codegen: Add disassembler, implement return 2009-05-13 19:51:03 -07:00
FEATURES Add support for "short" data type. 2009-08-03 14:42:57 -07:00
LICENSE Convert libacc into a shared library. 2009-05-22 12:09:55 -07:00
MODULE_LICENSE_BSD_LIKE Add license, document language changes. 2009-05-15 11:01:21 -07:00