quakeforge/tools/qfcc
Bill Currie 70af362562 [qfcc] Unify temp def, return value and parameter sizes
In working with vectors and matrices while testing the scene wrappers, I
found that there was a fair bit of confusion about how large something
could be. Return values can be up to 32 words (but qfcc wasn't aware of
that), parameters were limited to 4 words still (and possibly should be
for varargs), and temp defs were limited to 8 words (1 lvec4). Temps are
used for handling return values (at least when not optimizing) and thus
must be capable of holding a return value, and passing large arguments
through *formal* parameters should be allowed. It seems reasonable to
limit parameter sizes to return value sizes.

A temp and a move are still used for large return values (4x4 matrix),
but that's an optimization issue: the code itself is at least correct.
2022-02-15 08:39:20 +09:00
..
doc [qfcc] Make ruamoko the default and update the docs 2022-02-04 10:46:31 +09:00
include [qfcc] Unify temp def, return value and parameter sizes 2022-02-15 08:39:20 +09:00
source [qfcc] Unify temp def, return value and parameter sizes 2022-02-15 08:39:20 +09:00
test [gamecode] Pass registered data pointer to builtins 2022-02-14 12:28:38 +09:00
AUTHORS more mailing list corrections 2003-07-12 21:50:22 +00:00
Makemodule.am [build] Move to non-recursive make 2020-06-25 11:35:37 +09:00
TODO Throw away function parameter type alias info 2020-02-26 17:46:53 +09:00