mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +00:00
70af362562
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. |
||
---|---|---|
.. | ||
doc | ||
include | ||
source | ||
test | ||
AUTHORS | ||
Makemodule.am | ||
TODO |