- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I have error compilingwith optimization xSSE4.2/xHost using ICC 11.1.046/059/064. Plus, compiling was okay if i use only O3 flag without the optimization options. Furthermore compilation was okay if I used ICC 11.0.081.
Is there any changesthat I should doon optimization options (xSSE4.2) when compiling with ICC11.1 version? asI get no error when using 11.0.081.
Thanks for your input.
Regards
-Ariff-
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is the error using ICC11.1 (-O3 and -xSSE4.2 optimization):
/opt/intel/Compiler/11.1/046/bin/ia32/xiar scr icc/obj_lite/gs8/libicc/libicc.a icc/obj_lite/gs8/libicc/icc.o
xiar: executing 'ar'
icc -lm -oicc/bin_lite/gs8_lite.exe
#LOTS OF .o file are compiled here
icc: warning #10314: specifying -lm before object files may supercede the Intel math library and affect performance
icc/obj_lite/gs8/gxdevndi.o: In function `gx_render_device_DeviceN':
gs8/src/gxdevndi.c:(.text+0x259): undefined reference to `_mm_udivrem_epi32'
gs8/src/gxdevndi.c:(.text+0x794): undefined reference to `_mm_udivrem_epi32'
make[1]: *** [icc/bin_lite/gs8_lite.exe] Error 1
*Note: -lm warning can be ommited is this is not the cause of the issue.
However, if using ICC11.0, using all the same programfile, No error as above is produced. Also, no error seen of only -O3 optimzation (without -xSSE4.2) used.
I'm not seeing any binutils/ld failure. Btw, "ld --version" gave out: GNU ld (GNU Binutils; SUSE Linux Enterprise 11) 2.19
Thanks for helping.
Regards,
-Ariff-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It would be nice if you can submit a small test case to investigate the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The comment in the include file for that "intrinsic" indicates that you must permit linking of the icc libraries so as to implement it. Does removing -lm help, as the earlier diagnostic suggests?
binutils version looks good.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page