quakeforge/libs/gamecode
Bill Currie bebc811f11 [gamecode] Implement 4-component 32-bit swizzle
The swizzle instruction is very powerful in that in can do any of the
256 permutations of xyzw, optionally negate any combination of the
resulting components, and zero any combination of the result components
(even all). This means the one instruction can take care of any actual
swizzles, conjugation for complex and quaternion values, zeroing vectors
(not that it's the only way), and probably other weird things.

The python file was used to generate the jump table and actual swizzle
code.
2022-01-03 23:27:01 +09:00
..
test [gamecode] Add some math tests 2022-01-03 23:27:01 +09:00
Makemodule.am [gamecode] Add automated tests for store ops 2022-01-03 23:27:01 +09:00
pr_builtins.c [gamecode] Remove the wart from def and function names 2021-12-31 15:02:31 +09:00
pr_debug.c [gamecode] Rename the old opcodes 2022-01-02 21:30:02 +09:00
pr_edict.c [gamecode] Switch to using type parameter op macros 2022-01-02 20:46:32 +09:00
pr_exec.c [gamecode] Implement 4-component 32-bit swizzle 2022-01-03 23:27:01 +09:00
pr_load.c [gamecode] Add PROG_V6P_VERSION and bump PROG_VERSION 2022-01-03 13:56:43 +09:00
pr_opcode.c [gamecode] Add PROG_V6P_VERSION and bump PROG_VERSION 2022-01-03 13:56:43 +09:00
pr_parse.c [gamecode] Remove the wart from def and function names 2021-12-31 15:02:31 +09:00
pr_resolve.c [gamecode] Bail if PR_SearchDefs is given 0 defs 2020-03-16 14:24:48 +09:00
pr_resource.c [util] Make hash-tables semi-thread-safe 2020-03-25 15:43:16 +09:00
pr_strings.c [gamecode] Add PROG_V6P_VERSION and bump PROG_VERSION 2022-01-03 13:56:43 +09:00
pr_zone.c [gamecode] Conform with libc malloc for pr zone 2021-09-26 12:03:44 +09:00
swizzle.py [gamecode] Implement 4-component 32-bit swizzle 2022-01-03 23:27:01 +09:00