From: Dale Weiler Date: Wed, 25 Sep 2013 20:19:33 +0000 (-0400) Subject: Consistency X-Git-Tag: 0.3.5~75 X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=cf2352893fc0e65ff80fe62e8f566399db884986;hp=894e1976e3b01764f5d80e5d1925804904f14025 Consistency --- diff --git a/gmqcc.ini.example b/gmqcc.ini.example index 7fc19fd..474fe3c 100644 --- a/gmqcc.ini.example +++ b/gmqcc.ini.example @@ -531,6 +531,8 @@ CONST_OVERWRITE = true + + [optimizations] #Some general peephole optimizations. For instance the code `a = b #+ c` typically generates 2 instructions, an ADD and a STORE. This @@ -561,7 +563,6 @@ OVERLAP_LOCALS = true - #This promotes locally declared variables to "temps". Meaning when #a temporary result of an operation has to be stored somewhere, a #local variable which is not 'alive' at that point can be used to @@ -644,6 +645,7 @@ CONST_FOLD_DCE = true + #For constant expressions we can fold them to immediate values. #this option cannot be disabled or enabled, the compiler forces #it to stay enabled by ignoring the value entierly. There are