quakeforge/tools/qfcc/source
Bill Currie 1f3b21a626 [qfcc] Use a temp for size-changing swizzles
The Ruamoko instruction set has only same-size swizzles, so a staging
temp is needed either before (grow) or after (srink) the swizzle.
Unfortunately, it looks like there might be missed optimization issues,
but at least things seem to be correct.
2024-09-05 14:26:29 +09:00
..
.indent.pro indent whitespace cleanup. not perfect, but a bit more consistent now 2001-12-06 19:49:40 +00:00
algebra.c [qfcc] Make the type union anonymous 2024-08-16 17:23:29 +09:00
attribute.c [qfcc] Make expressions const-correct 2023-09-29 10:15:59 +09:00
class.c [qfcc] Implement parameter qualifiers in Ruamoko 2024-09-03 18:07:42 +09:00
codespace.c [gamecode] Move progs auxiliary headers into a subdirectory 2022-01-09 00:26:52 +09:00
constfold.c [qfcc] Parse vector literals correctly 2024-09-03 20:50:31 +09:00
cpp.c [qfcc] Use a stack for cpp_quote_start 2024-08-31 13:01:26 +09:00
dags.c [qfcc] Improve support for matrix types 2024-09-05 14:06:30 +09:00
debug.c [qfcc] Fix some glsl parsing issues 2024-09-01 17:02:42 +09:00
def.c [qfcc] Implement parameter qualifiers in Ruamoko 2024-09-03 18:07:42 +09:00
defspace.c [qfcc] Ensure progs defs are sorted by address 2023-09-12 22:26:30 +09:00
diagnostic.c Merge branch 'master' into wip-ruaspirv 2024-04-18 09:46:10 +09:00
disassemble.c [qfprogs] Create a stack for disassembly of locals 2023-09-12 22:21:55 +09:00
dot.c [qfcc] Make expressions const-correct 2023-09-29 10:15:59 +09:00
dot_dag.c [qfcc] Don't split basic blocks on function calls 2024-02-21 22:41:08 +09:00
dot_expr.c [qfcc] Support type expressions in dot output 2024-04-30 11:16:27 +09:00
dot_flow.c [qfcc] Make expressions const-correct 2023-09-29 10:15:59 +09:00
dot_sblock.c [qfcc] Use rua_loc_t for most location information 2023-11-06 14:25:20 +09:00
dot_type.c [qfcc] Clean up some unnecessary type const casts 2024-08-19 13:04:19 +09:00
dump_globals.c [qfprogs] Use a backup type array for qcc progs 2024-08-17 15:16:09 +09:00
dump_lines.c [gamecode] Use a struct for offset/count pairs 2022-01-26 19:30:25 +09:00
dump_modules.c [gamecode] Use a struct for offset/count pairs 2022-01-26 19:30:25 +09:00
dump_strings.c [qfprogs] Dump hex for non-ascii chars 2022-12-10 21:53:00 +09:00
emit.c [qfcc] Make the type union anonymous 2024-08-16 17:23:29 +09:00
evaluate.c [qfcc] Make the value union anonymous 2024-08-16 17:12:26 +09:00
expr.c [qfcc] Improve support for matrix types 2024-09-05 14:06:30 +09:00
expr_algebra.c [qfcc] Make the type union anonymous 2024-08-16 17:23:29 +09:00
expr_assign.c [qfcc] Implement parameter qualifiers in Ruamoko 2024-09-03 18:07:42 +09:00
expr_binary.c [qfcc] Parse vector literals correctly 2024-09-03 20:50:31 +09:00
expr_bool.c [qfcc] Unify much of the qc and glsl parser interface 2024-04-18 12:41:24 +09:00
expr_cast.c [qfcc] Clean up some unnecessary type const casts 2024-08-19 13:04:19 +09:00
expr_compound.c [qfcc] Improve support for matrix types 2024-09-05 14:06:30 +09:00
expr_construct.c [qfcc] Implement glsl's contructors for math types 2024-08-30 13:54:33 +09:00
expr_dag.c [qfcc] Implement parameter qualifiers in Ruamoko 2024-09-03 18:07:42 +09:00
expr_obj.c [qfcc] Check receiver type a second type 2024-09-04 10:37:26 +09:00
expr_optimize.c [qfcc] Aggressively cancel terms 2024-04-18 22:46:13 +09:00
expr_type.c [qfcc] Handle type function parameters in type functions 2024-09-04 09:54:29 +09:00
expr_vector.c [qfcc] Implement glsl's contructors for math types 2024-08-30 13:54:33 +09:00
flow.c [qfcc] Implement parameter qualifiers in Ruamoko 2024-09-03 18:07:42 +09:00
function.c [qfcc] Handle fixed return types in generic functions 2024-09-04 09:58:14 +09:00
glsl-block.c [qfcc] Implement parameter qualifiers in Ruamoko 2024-09-03 18:07:42 +09:00
glsl-builtins.c [qfcc] Parse about 2/5 of the glsl functions 2024-09-04 10:43:11 +09:00
glsl-parse.y [qfcc] Fix some glsl parsing issues 2024-09-01 17:02:42 +09:00
grab.c [util] Record allocated blocs for ALLOC 2023-03-05 18:31:30 +09:00
idstuff.c [gamecode] Use a struct for offset/count pairs 2022-01-26 19:30:25 +09:00
linker.c Merge branch 'master' into wip-ruaspirv 2024-04-18 09:46:10 +09:00
Makemodule.am [qfcc] Redo interface blocks as namespaces 2024-08-31 10:32:00 +09:00
method.c [qfcc] Unify qc and c function symbol handling 2024-08-26 12:58:39 +09:00
obj_file.c [qfcc] Abort qfo loading if file is too small 2024-08-29 01:04:52 +09:00
obj_type.c [qfcc] Make the type union anonymous 2024-08-16 17:23:29 +09:00
opcodes.c [qfcc] Always initialize Ruamoko opcodes 2023-09-01 14:40:05 +09:00
options.c [qfcc] Parse vector literals correctly 2024-09-03 20:50:31 +09:00
pragma.c [qfcc] Unify much of the qc and glsl parser interface 2024-04-18 12:41:24 +09:00
pre-parse.y [qfcc] Handle glsl version and extension directives 2024-09-01 17:01:05 +09:00
qc-lex.l [qfcc] Parse vector literals correctly 2024-09-03 20:50:31 +09:00
qc-parse.y [qfcc] Add bool and matrix types to ruamoko 2024-09-04 09:50:00 +09:00
qfcc.c [qfcc] Handle glsl version and extension directives 2024-09-01 17:01:05 +09:00
qfpreqcc Better handling of progs.dat and line numbers. 2012-11-15 15:04:51 +09:00
qfprogs.c [qfprogs] Create a stack for disassembly of locals 2023-09-12 22:21:55 +09:00
qp-lex.l [qfcc] Parse vector literals correctly 2024-09-03 20:50:31 +09:00
qp-parse.y [qfcc] Implement location printing for the parsers 2024-08-30 13:13:13 +09:00
reloc.c [qfcc] Use rua_loc_t for most location information 2023-11-06 14:25:20 +09:00
shared.c [qfcc] Handle glsl version and extension directives 2024-09-01 17:01:05 +09:00
statements.c [qfcc] Use a temp for size-changing swizzles 2024-09-05 14:26:29 +09:00
strpool.c [qfcc] Make save_string null-safe 2024-07-07 15:18:51 +09:00
struct.c [qfcc] Redo interface blocks as namespaces 2024-08-31 10:32:00 +09:00
stub.c [qfcc] Clean up function.h a little 2024-08-20 09:26:24 +09:00
switch.c [qfcc] Parse vector literals correctly 2024-09-03 20:50:31 +09:00
symtab.c [qfcc] Properly dup symbol for declaration 2024-08-30 21:45:37 +09:00
type.c [qfcc] Improve support for matrix types 2024-09-05 14:06:30 +09:00
value.c [qfcc] Make the immediate union anonymous 2024-08-16 17:30:02 +09:00