quakeforge/libs/gamecode
Bill Currie 37f08f9d4f [qfcc] Build the Ruamoko function parameters
The parameter defs are allocated from the parameter space using a
minimum alignment of 4, and varargs functions get a va_list struct in
place of the ...

An "args" expression is unconditionally injected into the call arguments
list at the place where ... is in the list, with arguments passed
through ... coming after the ...

Arguments get through to functions now, but there's problems with taking
the address of local variables: currently done using constant pointer
defs, which can't work for the base register addressing used in Ruamoko
progs.

With the update to test-bi's printf (and a hack to qfcc for lea),
triangle.r actually works, printing the expected results (but -1 instead
of 1 for equality, though that too is actually expected). qfcc will take
a bit longer because it seems there are some design issues in address
expressions (ambiguity, and a few other things) that have pretty much
always been there.
2022-01-24 23:44:48 +09:00
..
test [gamecode] Change address mode B to entity.field 2022-01-20 14:55:29 +09:00
convert.py [gamecode] Add a fixme about using gcc's vec convert 2022-01-17 10:32:19 +09:00
hops.py [gamecode] Add tests for the hops instructions 2022-01-16 18:46:29 +09:00
Makemodule.am [gamecode] Implement the HOPS sub-instructions 2022-01-16 16:28:48 +09:00
opcodes.py [gamecode] Add instructions for stack adjust, nop, and ldconst 2022-01-21 20:00:38 +09:00
pr_builtins.c [gamecode] Add a data pointer passed to builtin functions 2022-01-24 00:20:05 +09:00
pr_debug.c [gamecode] Rename MAX_PARMS to PR_MAXPARAMS 2022-01-23 14:17:25 +09:00
pr_edict.c [gamecode] Use unsigned for entity values 2022-01-16 22:15:18 +09:00
pr_exec.c [qfcc] Build the Ruamoko function parameters 2022-01-24 23:44:48 +09:00
pr_load.c [gamecode] Initialize .stack if it's available 2022-01-21 20:33:15 +09:00
pr_opcode.c [gamecode] Create macros for progs sizeof and alignof 2022-01-23 14:29:33 +09:00
pr_parse.c [gamecode] Rename ev_quat to ev_quaternion 2022-01-18 17:05:12 +09:00
pr_resolve.c [gamecode] Rename MAX_PARMS to PR_MAXPARAMS 2022-01-23 14:17:25 +09:00
pr_resource.c [util] Make hash-tables semi-thread-safe 2020-03-25 15:43:16 +09:00
pr_strings.c [gamecode] Clean up string_t and pointer_t 2022-01-18 12:11:14 +09:00
pr_v6p_opcode.c [gamecode] Rename MAX_PARMS to PR_MAXPARAMS 2022-01-23 14:17:25 +09:00
pr_zone.c [gamecode] Conform with libc malloc for pr zone 2021-09-26 12:03:44 +09:00
swizzle.py [gamecode] Add tests for the swizzle instructions 2022-01-15 22:44:58 +09:00