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,548 of 2,753   
   Bob Morgan to cdg@nullstone.com   
   Re: Register pressure and inlining   
   17 Dec 08 00:11:26   
   
   From: wimbleweather@verizon.net   
      
   On Wed, 12 Nov 2008 08:45:33 -0800, "Christopher Glaeser"   
    wrote:   
      
   >> Is there any example that inlining acctually causes performance loss?   
   >   
   >Expanded code may not fit in small instruction cache.   
      
   The language semantics can sometimes lead to poorer performance with   
   inlining. The classical example is the DAXPY function in Fortran. When   
   not compiled inline, DAXPY can take advantage of Fortran language   
   rules concerning non-overlapping of dummy and global arguments. When   
   compiled inline the overlap may be difficult to identify with   
   dependence analysis, so performance may be hurt.   
      
   Bob Morgan   
      
   --- 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