Most Quake VMs, including the one from FTEQW or up till recently
Darkplaces, do not cope well with vector instructions with overlapping
input and output. This option will avoid producing such code.
+.It Fl f Ns Cm expressions-for-builtins
+Usually builtin-numbers are just immediate constants. With this flag
+expressions can be used, as long as they are compile-time constant.
+.Pp
+Example:
+.Bd -literal -offset indent
+void printA() = #1; // the usual way
+void printB() = #2-1; // with a constant expression
+.Ed
.El
.Sh OPTIMIZATIONS
.Bl -tag -width Ds
# input and output. This option will avoid producing such code.
LEGACY_VECTOR_MATHS = true
+ # Builtin-numbers are usually just immediate constants.
+ # The following allows whole expressions to be used, as long as they
+ # are compile-time constant.
+ EXPRESSIONS_FOR_BUILTINS = false
+
# These are all the warnings, usually present via the -W prefix from
# the command line.
[warnings]