- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hye,
I discovered that intel compiler (version 9.1.045) doesn't inline the standard math function which are operating on long double type (fabsl, sqtrl, cosl, ..) on itanium2 with linux. I try the option "-O3 -ipo -static -limf" but it perform any inlining. With this following example, the function fabsl isn't inlined but the function fabs is inline.
Which command-line should I use to have the function (fabsl, ..) inlined ?
Mickael,
[~]$ cat toto.c
#include
#include
int main()
{
long double x=fabsl(1.E0L);
double y=fabs(1.E0);
printf("%LE %E ", x,y);
};
[ ~]$ icc -O3 toto.c -ipo -o toto -limf -static
IPO: performing single-file optimizations
IPO: generating object file /tmp/ipo_icc79lEWQ.o
[ ~]$ nm toto | grep fabs
4000000000000480 T fabsl
4000000000000480 T __libm_fabsl
I discovered that intel compiler (version 9.1.045) doesn't inline the standard math function which are operating on long double type (fabsl, sqtrl, cosl, ..) on itanium2 with linux. I try the option "-O3 -ipo -static -limf" but it perform any inlining. With this following example, the function fabsl isn't inlined but the function fabs is inline.
Which command-line should I use to have the function (fabsl, ..) inlined ?
Mickael,
[~]$ cat toto.c
#include
#include
int main()
{
long double x=fabsl(1.E0L);
double y=fabs(1.E0);
printf("%LE %E ", x,y);
};
[ ~]$ icc -O3 toto.c -ipo -o toto -limf -static
IPO: performing single-file optimizations
IPO: generating object file /tmp/ipo_icc79lEWQ.o
[ ~]$ nm toto | grep fabs
4000000000000480 T fabsl
4000000000000480 T __libm_fabsl
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page