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] |
| Other format: | [Raw text] | |
The problem with this approach is, that with -D__NO_INLINE__, asin() and drem()functions, which are part of almabench, still produce a call to math library. These functions are currently not implemented as intrinsic functions ( http://gcc.gnu.org/ml/gcc-patches/2004-04/msg00876.html ).Strange. Using last night's mainline on i686-pc-linux-gnu, when I supply either -D__NO_INLINE__ or -D__NO_MATH_INLINES I get a dramatic 30% speedup for alma. Still not as fast as ICC, but better than it was. I suspect we'll do better when Uros finishes the x87 instrinsics. :-) http://gcc.gnu.org/ml/gcc-patches/2004-04/msg00863.html
asin:
fldl 4(%esp)
fld %st(0)
fmul %st(1), %st
fsubrl .LC1
fsqrt
fpatan
ret| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |