quakeforge/tools
Bill Currie 52a399daeb [qfcc] Update sizes and alignments for dvec4 and friends
dvec4, lvec4 and ulvec4 need to be aligned to 8 words (32 bytes) in
order to avoid hardware exceptions. Rather than dealing with possibly
mixed alignment when a function has 8-word aligned locals but only
4-word aligned parameters, simply keep the stack frame 8-word aligned at
all times.

As for sizes, the temp def recycler was written before the Ruamoko ISA
was even a pipe dream and thus never expected temp def sizes over 4. At
least now any future adjustments can be done in one place.

My quick and dirty test program works :)

    dvec4 xy = {1d, 2d, 0d, 0.5};
    void printf(string fmt, ...) = #0;
    int main()
    {
	dvec4 u = {3, 4, 3.14};
	dvec4 v = {3, 4, 0, 1};
	dvec4 w = v * xy + u;
	printf ("[%g, %g, %g, %g]\n", w[0], w[1], w[2], w[3]);
	return 0;
    }
2022-02-04 08:46:58 +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] Update sizes and alignments for dvec4 and friends 2022-02-04 08:46:58 +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