- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Im looking for information sources on code optimization using the Intel CPU and the MMX/SSE family instruction set.
From what I have searched this group is the closest group to the subject of code optimization / vectorization.
Could someone recommend of:
- A good reference book?
- A relevant user group (within Intel Software Network or any external user group)
Thanks,
Avner
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Undoubtedly, vectorization will be crucial to the application of AVX. Your topic is still too broad. You may be interested in compiler auto-vectorization with Fortran (vast on-line resources available) or C (similar, with more requirements, some resources available), or something else. For example, the topic has been discussed frequently on the Intel compiler forum sites.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Im interested in optimization for C++ code. I am using the Intel 64 and IA-32 Architectures Software Developer's Manuals (5 volumes) for reference.
What I am looking for is a user group where I can post general SSE programming questions and see example source code. For example I want to know if there is a conditional statement equivalent to if/else in SSE, where I could condition intrinsic operations based on results in the registers.
Thanks,Avner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SSE4 blend instructions implement if/else conditional moves, such as Fortran MERGE. Prior to SSE4, the same operation could be implemented with masks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - amoshkov
I would suggest reading first following - "IA-32 Intel Architecture Optimization Manual", followed by - "Intel Intrinsic Functions Reference" & "Intel C++ Compiler Reference". Regarding book I would suggest - "The Software Vectorization Handbook - Aart J.C.Bik" & "Optimizing Compilers Modern Architecture - Randy Allen & Ken Kennedy". -> HIH
![](/skins/images/C4F7392A5C68ACA60290C9576F107044/responsive_peak/images/icon_anonymous_message.png)
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