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 1,500 of 2,753   
   Jeremy Wright to All   
   Re: Register pressure and inlining   
   09 Nov 08 12:30:37   
   
   From: jeremy.wright@microfocus.com   
      
   I can think of two ways extra spilling could occur.   
      
   Firstly - in a more complex example, your spill code might not be   
   optimally placed. In particular your spiller might not be   
   sophisticated enough to do live range splitting, and put the spill   
   code in the same place that the register save and restores would have   
   been originally.   
      
   Secondly - the compiler might (and probably should) do extra optimisation   
   passes after inlining. This could lead to further redundancy elimination   
   due to the improved information, which would then lead to extra register   
   pressure.   
      
   Jeremy Wright   
   Compiler Team Leader   
   Micro Focus   
      
   --- 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