C
Chris J. Mutter
hello,
is it possible to inline a function declared in a .s
file (i.e. a optimized version of sqrtl) within a main
program loop?
i used the intel c/c++ compiler as follows:
icc -O3 sqrtlof.c dbl_ext_sqrt.s -o sqrtlof
but objdump -d showed that there is still a call to
the function dbl_ext_sqrt() and the compiler report
states that the function could not be inlined because
its extern:
INLINING REPORT: (main)
-> dbl_ext_sqrt(EXTERN)
i defined the function as 'static inline'.
exactly the same behaviour when i use gcc on the same
machine.
regars,
cjm
is it possible to inline a function declared in a .s
file (i.e. a optimized version of sqrtl) within a main
program loop?
i used the intel c/c++ compiler as follows:
icc -O3 sqrtlof.c dbl_ext_sqrt.s -o sqrtlof
but objdump -d showed that there is still a call to
the function dbl_ext_sqrt() and the compiler report
states that the function could not be inlined because
its extern:
INLINING REPORT: (main)
-> dbl_ext_sqrt(EXTERN)
i defined the function as 'static inline'.
exactly the same behaviour when i use gcc on the same
machine.
regars,
cjm