Commit Graph

1789 Commits (a6e3467d58e0a0fc8ab8784eecd6412ddd75f6b7)

Author SHA1 Message Date
Jonathan G Rennison 759b00262e VarAction2: Allow more than one JZ to end on the same end block adjust 2 years ago
Jonathan G Rennison 9775f468e8 VarAction2: Fix jump insertion moving the end marker for another jump 2 years ago
Jonathan G Rennison 89f66236ff VarAction2: Fix SHR/SAR mixup in check for merge with prior RST 2 years ago
Jonathan G Rennison a311f12615 Add signals_style_lookahead_single_signal_only signal style property 2 years ago
Jonathan G Rennison fcae909839 Add signal style flag for drawing on the opposite side 2 years ago
Jonathan G Rennison 229613b06a VarAction2: Resolve jumps in advance to avoid needing to track nesting 2 years ago
Jonathan G Rennison 387e646439 VarAction2: Add group flag for whether to run jump insert pass 2 years ago
Jonathan G Rennison 3714fad790 VarAction2: Fix jump insertion using mul with bool as last value 2 years ago
Jonathan G Rennison 4af3022c45 VarAction2: Fix last variable read annotations being incorrect
This is because DSE variable substitutions/etc were applied afterwards
This broke jump insertion
2 years ago
Jonathan G Rennison 191f710c40 Add custom signal style properties to set electric/semaphore enabled types 2 years ago
Jonathan G Rennison 175c5d4d50 Add signal style flag to limit lookahead extra aspect 2 years ago
Jonathan G Rennison bdd73a19a1 Add signal style flag for unconditional reserve through
Add map bits for unconditional reserve through
Adjust signal aspect/state handling
2 years ago
Jonathan G Rennison 7ae06124ae Add signal style flag for no aspect increase behaviour (banner repeater) 2 years ago
Jonathan G Rennison 6e4c4b35e7 Initial implementation of NewGRF custom signal styles 2 years ago
Jonathan G Rennison 098bb74ed2 Fix industry tile layout validation when the layout has only one tile
See: https://github.com/OpenTTD/OpenTTD/issues/9925
2 years ago
Jonathan G Rennison 13fcde9ea0 VarAction2: Add a JZ operation, use for ternary style mul masking 2 years ago
Jonathan G Rennison 8687b82dd8 VarAction2: Mark various object variables as expensive 2 years ago
Jonathan G Rennison c0b1f867a3 VarAction2: Prefer tracking store content as clone of another store 2 years ago
Jonathan G Rennison 315f12f1e4 Fix spelling error in comment 2 years ago
Jonathan G Rennison 7bb0de247d Add GRF feature: New Landscape
Custom graphics using actions 1/2/3.

Currently only for rock tiles
2 years ago
Jonathan G Rennison 5a02a13885 VarAction2: Add abs() detection to bool/mul adjust combining 2 years ago
Jonathan G Rennison e554d7fdfb VarAction2: Generalise bool/mul adjust combining 2 years ago
Jonathan G Rennison 3e56837ae6 Fix bec2bf7e: Fix (anti-)commutative store/load re-arrangements 2 years ago
Jonathan G Rennison 34cd547325 Debug: Show if action 2s have been modified by action 6 in debug window 2 years ago
Jonathan G Rennison 6214d0d20d VarAction2: Add an ABS opcode 2 years ago
Jonathan G Rennison 7f1b3a965f VarAction2: Allow tracking stores as (inverted) clones of previous store 2 years ago
Jonathan G Rennison bec2bf7e85 VarAction2: Initial temp store versioning in 1st pass 2 years ago
Jonathan G Rennison 4f3058ee06 VarAction2: Improve handling of variable 7B with a previous constant 2 years ago
Jonathan G Rennison 23e6d861fc VarAction2: Ensure that store simplification can't break var 7B 2 years ago
Jonathan G Rennison 3bddd55921 VarAction2: Add sprite group flag for if var 1C seen before proc 2 years ago
Jonathan G Rennison 16185e817e VarAction2: Merge compatible constant operations 2 years ago
Jonathan G Rennison 0343e9d9dd VarAction2: Replace sequences of the form: (var * flag) + (var * !flag) 2 years ago
Jonathan G Rennison e5e984d92f VarAction2: Replace effective SMAX/SMIN sequences in DSE pass 2 years ago
Jonathan G Rennison 0484fbf941 VarAction2: Save/restore inference when going back to previous op with side effects 2 years ago
Jonathan G Rennison 376b434d53 VarAction2: Re-order commutative skip on zero operation sequences
Such that less expensive variables can be tested first
2 years ago
Jonathan G Rennison 0409bd88e8 VarAction2: Simplify tracking of sprite group feature 2 years ago
Jonathan G Rennison caebff85f5 VarAction2: Add helper functions for constant comparison adjust types 2 years ago
Jonathan G Rennison 249a20e47a VarAction2: Add helper functions for relational comparison ops 2 years ago
Jonathan G Rennison 31e96ff5e7 VarAction2: Add helper functions for anti-commutative ops 2 years ago
Jonathan G Rennison 5db30e559e VarAction2: Store substitutions can now handle inversions 2 years ago
Jonathan G Rennison b95116e4fc VarAction2: Apply XOR bool inversion conversions after DSE 2 years ago
Jonathan G Rennison 2bbfa37730 VarAction2: Replace reversed commutative/sub op via temp storage in DSE pass 2 years ago
Jonathan G Rennison 45ac1a89aa VarAction2: Apply XOR with 1 bool logic inversion in more cases
Fixes case of DSE-delayed var substitutions
2 years ago
Jonathan G Rennison 1c1e6a1042 VarAction2: Prune deterministic sprite group children again after DSE 2 years ago
Jonathan G Rennison 6e398f9cec VarAction2: DSE now takes into account DSE results from child groups 2 years ago
Jonathan G Rennison 65407210a6 VarAction2: Allow DSGA_OP_STO_NC to be used with DSGA_TYPE_EQ/NEQ 2 years ago
Jonathan G Rennison d3dce79d73 VarAction2: Substitute single-use vars through temp storage in DSE pass 2 years ago
Jonathan G Rennison 0310692acf VarAction2: Only substitute cheap vars through temp storage in 1st pass 2 years ago
Jonathan G Rennison f54530b1b2 VarAction2: Add checks for vars 7B, 7C when getting previous single load 2 years ago
Jonathan G Rennison a8c0e47dd8 VarAction2: If DSE results in a redundant load, remove it 2 years ago