quakeforge/libs/gamecode
Bill Currie 5c822f6579 [gamecode] Tidy up shiftops a little
The various indices were a little inconsistent making modifications
tricky. I discovered that signed left-shifts are considered UB if the
value overflows the non-sign bits (but unsigned left shifts are fine),
and signed right shifts are implementation dependent. Whee. However,
it's likely that signed right shifts can be relied upon, at least well
enough for unit tests. I imagine signed left, too, but I plan on
converting them to unsigned. Also, negative shift values are UB, but
that's less of a worry, but also needs "fixing" (ie, make unsigned).
However, later.
2024-11-28 23:41:07 +09:00
..
test [build] Implement tracy memory zones 2024-01-05 11:50:48 +09:00
convert.py Fix windows compile issues 2022-07-31 17:34:09 +09:00
extend.py [gamecode] Extend extend to support reversal 2023-08-25 10:30:14 +09:00
hops.py
Makemodule.am [gamecode] Add an extend instruction 2022-08-18 18:18:19 +09:00
opcodes.py [gamecode] Tidy up shiftops a little 2024-11-28 23:41:07 +09:00
pr_builtins.c [gamecode] Clean up a pile of memory leaks 2023-03-03 22:07:27 +09:00
pr_debug.c [qfcc] Use count for number of array elements 2024-11-17 15:27:10 +09:00
pr_edict.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
pr_exec.c [gamecode] Fix some tangled rows and columns 2024-11-26 16:28:15 +09:00
pr_load.c Clean up about 12000 allocations 2024-01-05 11:50:48 +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] Save all param pointers with PR_SaveParams 2024-09-05 00:00:44 +09:00
pr_resolve.c [gamecode] Use an explicit size for the null page 2022-02-01 16:43:29 +09:00
pr_resource.c [gamecode] Make modules responsible for freeing resources 2023-03-03 20:26:00 +09:00
pr_strings.c [gamecode] Support the l flag for %v and %q 2023-08-26 11:47:04 +09:00
pr_v6p_opcode.c [qfcc] Support advanced progs again 2022-11-12 20:04:19 +09:00
pr_zone.c [zone] Make zone_error be like printf 2023-12-20 18:32:53 +09:00
swizzle.py [simd] Use portable swizzles 2022-03-31 02:25:33 +09:00