3 ms·
Wow, that's really embarrassing. I checked against IACA (http://software.intel.com/en-us/articles/intel-architecture-code-analyzer http://software.intel.com/en
by nkurz 14y ago
Wow, that's really embarrassing.
I checked against IACA (http://software.intel.com/en-us/articles/intel-architecture-code-analyzer http://software.intel.com/en-us/articles/intel-architecture-...) in case I was missing something, and it agrees that your version is 2 cycles faster on Sandy Bridge. Worse, while both blocks are slower on Nehalem than Sandy Bridge, yours appears to be 2 cycles faster on the older architecture as well. Seeing as that came out in 2008, it's hard to be charitable to their boasting.
Would you mind if I use your sample code to ask the authors?
- pbsd 14y agoSure, you can use that however you wish.