From: Thierry L. <thi...@in...> - 2010-03-12 16:31:37
|
Hi all, Here is a new version of my previous patch on the simp-cond pass, after previous duscussions on this list and discussions with Erven. The idea, here, is to allow inversion of conditions on floats only if a specific flag is set; this flag is set either individually or with the -Os option (optimize for size) since the benefit of this inversion would only be code size (and cleaner CIL code). Inversion of conditions with integer arguments now include brfalse/brtrue opcodes and is also activated by a specific flag, set either individually or with -On (n >= 1) or -Os. Feel free to comment. If everebody agree, I should commit it in a few days. Have a good week-end, Thierry Lafage. |