mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-18 14:21:36 +00:00
manpage and ini update
This commit is contained in:
parent
aed2b1031c
commit
b9fb29d740
2 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue