Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Juno CDT SSE4.1 intrinsics support
Juno CDT SSE4.1 intrinsics support [message #932754] Thu, 04 October 2012 07:52 Go to next message
Eclipse UserFriend
I am having problems getting the CDT code analyzer to recognize SSE 4.1 intrinsics used in several project files. I am running on Ubuntu 12.04 with gcc 4.6 and the Juno CDT release. My code is able to compile and run just fine. All of the SSE2 intrinsics in my code are properly recognized.

Each use of an SSE4.1 intrinsic results in the CDT analyzer complaining about the corresponding compiler built-in missing, for example

_mm_insert_epi64(rowSum_vec, rowSum, 0);


results in the following error:

Function '__builtin_ia32_vec_set_v2di' could not be resolved


I have added the option -msee4.1 to the Discovery settings tab under Workspace Preferences C/C++ -> Build -> Settings, and have verified that the appropriate SSE preprocessor definitions are set in the CDT Build Console. Under C/C++ General -> Preprocessor Include Paths, Macros -> Providers of the project settings I have enabled the CDT GCC Builtin Compiler Settings option. In generall the SSE4.1 definitions seem to parse correctly, in my opinion it looks like CDT is missing knowledge about the underlying compiler built-ins.

So my question is, does the CDT analyzer support SSE4.1 intrinsics? If yes, what do I have to do to properly enable their support by the code analyzer?
Re: Juno CDT SSE4.1 intrinsics support [message #934914 is a reply to message #932754] Sat, 06 October 2012 09:01 Go to previous messageGo to next message
Eclipse UserFriend
Scanner discovery does not handle built-in functions. For those there is bugzilla issue https://bugs.eclipse.org/bugs/show_bug.cgi?id=352537.

Andrew
Re: Juno CDT SSE4.1 intrinsics support [message #935146 is a reply to message #934914] Sat, 06 October 2012 14:44 Go to previous message
Eclipse UserFriend
I figured as much, but just wanted to make sure I hadn't missed something.

Thanks for the info!

Brian
Previous Topic:Build a 64-bit Executable with CDT and MS Win 7 SDK
Next Topic:Compiler Visual C++ Builds but no Output Files
Goto Forum:
  


Current Time: Sun Jun 22 06:04:40 EDT 2025

Powered by FUDForum. Page generated in 0.06530 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top