On 2014-03-24 13:39:45 +0000, Michel Fortin <[email protected]> said:
That said, my test "main" function isn't very representative of the general case because the length is statically known by the optimizer. Let's see what it does when the length is not statically known:
Oops, wrong link, was from an intermediary test. This one will give you the results in the table: http://goo.gl/lwU4hv
implementation line count of main in assembly andralex 384 - 9 labels = 375 instructions MFortin1 173 - 19 labels = 154 instructions MFortin2 182 - 18 labels = 164 instructions safety0ff -- not inlined -- dnspies -- not inlined -- CWilliams 229 - 23 labels = 206 instructions MFortin1Check 211 - 24 labels = 187 instructions MFortin2Check 218 - 21 labels = 197 instructions
-- Michel Fortin [email protected] http://michelf.ca
