home bbs files messages ]

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,089 of 2,753   
   Kaz Kylheku to George Neuner   
   Re: How to eliminate redundant constant    
   03 Nov 11 03:20:32   
   
   From: kaz@kylheku.com   
      
   On 2011-11-02, George Neuner  wrote:   
   > Yes.  But the compiler can't count on register renaming ... it can see   
   > only the architectural named registers.  If the code in question had   
   > copied Rx-> Ry then renaming would have been possible, but instead the   
   > code performed a constant load to each register.  No possibility of   
   > rename sharing there.   
      
   If the register holds a value that is used, but not clobbered, then renaming is   
   moot. The two blocks of code both depend on rx being zero, and so nothing is   
   achieved by splitting the instruction set register into two physical registers.   
      
   --- 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