Commit Graph

12 Commits (0bec49fa567640775bef44f09dcc7bf98509413f)

Author SHA1 Message Date
Jonathan G Rennison 4fd8634ff9 VarAction2: Remove trivially redundant special stores 2 years ago
Jonathan G Rennison d9aa2d6138 VarAction2: Extend group cast to bool range elision
Handle opposite arrangement of range and default group
2 years ago
Jonathan G Rennison df6b9d355f VarAction2: Simplify store, load with bool/invert, ternary sequence in DSE 2 years ago
Jonathan G Rennison 14de8c7f34 VarAction2: Add quick exit case to last-level callback groups if possible 2 years ago
Jonathan G Rennison 35063b2176 VarAction2: Ensure group pruning can't break var 1C via random groups 2 years ago
Jonathan G Rennison 3676b0912d VarAction2: Fix inference handling when pruning ops prior to RST 2 years ago
Jonathan G Rennison c60e3fed99 VarAction2: Do not re-assign error group
When pruning ranges of group with constant result
2 years ago
Jonathan G Rennison e335c86e77 VarAction2: Elide group ranges as cast to bool when result is already bool 2 years ago
Jonathan G Rennison b04d1295cd VarAction2: Infer that unsigned mod 2 results in 0 or 1 2 years ago
Jonathan G Rennison 9c18835bd0 Move ProcessDeterministicSpriteGroupRanges into newgrf.cpp 2 years ago
Jonathan G Rennison c58b94c376 VarAction2: DSE: Allow setting skip on zero flag on skippable procedures 2 years ago
Jonathan G Rennison 4601a1bfc6 Move NewGRF optimiser functions into a separate file
Create a new header for shared definitions with newgrf.cpp
2 years ago