delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/03/13/18:19:38

Posted-Date: Fri, 13 Mar 92 16:19:23 CST
Date: Fri, 13 Mar 92 16:19:23 CST
From: bergstro AT src DOT honeywell DOT com (Pete Bergstrom)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: question re: generated code
Status: O

I'm using djgpp verion 1.03.  In examining the .S output from a C++
code file, I find an enormous number of (to my mind) useless jmps.

They jmp over '.align 2,144' statements and even setting optimization
on does nothing to get rid of them.  Are they in fact optimized by the
assembler, in which case I wouldn't know the difference?

I got sidetracked onto this by trying to figure out why my ray tracer
was so slow compared to those of people using Borland's C++.

I would appreciate any pointers, including whether this is improved in
gcc 2.0 (if the problem exists at all, of course).

Thanks,
Pete

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019