manpage and ini update

This commit is contained in:
Wolfgang Bumiller 2013-04-25 19:13:43 +02:00
parent aed2b1031c
commit b9fb29d740
2 changed files with 14 additions and 0 deletions

View file

@ -497,6 +497,15 @@ void vafunc(string...count) {
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

View file

@ -107,6 +107,11 @@
# 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]