quakeforge/tools
Bill Currie 93840d9892 [qfcc] Handle Ruamoko's call return destination
Since the call instruction in the Ruamoko ISA specifies the destination
of the return value of the called function, it is much like any
expression type instruction in that the def referenced by its c operand
is both defined and killed by the instruction. However, unlike other
instructions, it really has many pseudo-operands: the arguments placed
on the stack. The problem is that when one of the arguments is also the
destination of the return value, the dags code wants to use the stack
argument as it was the last use of the real argument. Thus, instead of
using the value of the child node for the result, use the value label
attached to the call node (there should be only one such label).

This fixes iterfunc, typedef, zerolinker and vkgen when optimizing. Now
all but the double tests and return postop tests pass (and the retun
postop test is not related to the Ruamoko ISA, so fails either way).
2022-02-01 21:46:28 +09:00
..
3dfx_stub Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
bsp2img [build] Fix some windows bitrot 2021-08-02 14:02:41 +09:00
build_scripts Strip the executables. 2013-01-23 22:09:54 +09:00
carne Get QF cross-compiling using MXE/mingw32 2021-03-27 20:09:37 +09:00
cross [vulkan] Pick up vulkan.h from correct location 2021-11-19 22:36:19 +09:00
cvs2cl audit the usage of "only" 2010-01-13 06:42:26 +00:00
Forge Handle quest format brushes. 2012-09-12 08:24:17 +09:00
gas2masm Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gl_stub [glstub] Add functions needed to get glsl working 2021-07-22 10:12:41 +09:00
io_mesh_qfmdl Merge branch 'vulkan' 2021-03-23 12:31:58 +09:00
io_qfmap [qfmap] Update script.py from io_object_mu 2020-07-17 20:11:44 +09:00
misc [tools] Add a tool to dump sprite info 2021-12-17 08:31:28 +09:00
pak [build] Fix selective build of tools 2021-03-26 16:11:29 +09:00
qfbsp [qfbsp] Print the number of textures in the bsp 2021-12-17 08:28:02 +09:00
qfcc [qfcc] Handle Ruamoko's call return destination 2022-02-01 21:46:28 +09:00
qflight [util] Make bsp_t counts size_t 2021-08-01 21:54:05 +09:00
qflmp [build] Fix selective build of tools 2021-03-26 16:11:29 +09:00
qfmodelgen [build] Fix selective build of tools 2021-03-26 16:11:29 +09:00
qfspritegen Get QF cross-compiling using MXE/mingw32 2021-03-27 20:09:37 +09:00
qfvis [simd] Add 2d vector types 2022-01-02 00:57:55 +09:00
quaketoascii Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
texpaint Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
wad [build] Fix selective build of tools 2021-03-26 16:11:29 +09:00
wav [build] Fix selective build of tools 2021-03-26 16:11:29 +09:00
Makemodule.am [build] Move to non-recursive make 2020-06-25 11:35:37 +09:00