X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=doc%2Fgmqcc.1;h=b621004b7bf76e4d85bdb226f9685fa66b4fe7cd;hp=bbaaaf39ded1ec542cd5d19335a6027db80a4855;hb=babdebee797f07a3478d7af532536b6f44b33046;hpb=456e80a7d5b7309ce9409e2f1ab9224a039eb890 diff --git a/doc/gmqcc.1 b/doc/gmqcc.1 index bbaaaf3..b621004 100644 --- a/doc/gmqcc.1 +++ b/doc/gmqcc.1 @@ -12,7 +12,7 @@ list of QC source files that are to be compiled in order. \fBgmqcc\fR optionally takes options to specify the output and input files on the commandline, and also accepts assembly files. .SH OPTIONS -\fBgmqcc\fR mostly tries to mimick gcc's commandline handling, though +\fBgmqcc\fR mostly tries to mimic gcc's commandline handling, though there are also traditional long-options available. .TP .B "-h, --help" @@ -121,6 +121,17 @@ them. -f\fIno-\fRcorrect-ternary .fi .in +.TP +.B "-dump" +DEBUG OPTION. Print the code's intermediate representation before the +optimization and finalization passes to stdout before generating the +binary. +.TP +.B "-dumpfin" +DEBUG OPTION. Print the code's intermediate representation after the +optimization and finalization passes to stdout before generating the +binary. The instructions will be enumerated, and values will contain a +list of liferanges. .SH COMPILE WARNINGS .TP .B -Wunused-variable @@ -385,6 +396,11 @@ result. This can reduce the size of the global section. This will not have declared variables overlap, even if it was possible. .TP +.B -Oglobal-temps +Causes temporary values which do not need to be backed up on a CALL to +not be stored in the function's locals-area. With this, a CALL to a +function may need to back up fewer values and thus execute faster. +.TP .B -Ostrip-constant-names Don't generate defs for immediate values or even declared constants. Meaning variables which are implicitly constant or qualified as such