Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.compilers    |    Compiler construction, theory, etc. (Mod    |    2,753 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 2,088 of 2,753    |
|    mac to All    |
|    Re: How to eliminate redundant constant     |
|    03 Nov 11 02:20:40    |
      From: acolvin@efunct.com              >> I found following intermediate codes are generated in gcc       >>       >> rx <- 0       >> ...       >> use rx       >> ...       >> ry <- 0       >> use ry       >> ...              This may be "rematerialization", which probably has other names.              Sometimes it's better to re-compute a common value than to tie up a       register. This may well be true for a constant 0 if there are few registers       (x86-32).              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca