This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Code much slower. Why?


In a message dated 9/29/99 10:29:12 AM EST, ronis@ronispc.chem.mcgill.ca 
writes:

> I only see a single call, a call to
>  exp, in the faster libc5 version. 
I assume you are compiling with gcc; your options should invoke in-line, and 
the exp() code for glibc-2 would come from /usr/include/bits/mathinline.h.   
I find it helpful to compile the function with -c -g and produce a listing 
using objdump -S on the .o file.  I believe myself that improvements may be 
made here, but it seems to be a glibc problem which won't receive as much 
sympathy as a compiler problem would, and it doesn't appear that you have 
located the relevant output code.  You might wish to compare the preprocessed 
code produced in the two cases.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]