Skip to main content
4 events
when toggle format what by license comment
May 18, 2018 at 21:07 history edited l4m2 CC BY-SA 4.0
added 2 characters in body
May 18, 2018 at 20:22 comment added Peter Cordes This also works the other direction, of course: add -128 instead of sub 128. Fun fact: compilers know this optimization, and also do a related optimization of turning < 128 into <= 127 to reduce the magnitude of an immediate operand for cmp, or gcc always prefers rearranging compares to reduce the magnitude even if it's not -129 vs. -128.
May 18, 2018 at 13:08 history edited l4m2 CC BY-SA 4.0
added 44 characters in body
May 18, 2018 at 5:43 history answered l4m2 CC BY-SA 4.0