Quantcast
Channel: Intel® Software - Intel ISA Extensions
Viewing all articles
Browse latest Browse all 685

SHA Extensions are availabe on which microarchitecture?

$
0
0

I see here: https://en.wikipedia.org/wiki/Intel_SHA_extensions that these instructions became available on the Goldmont micro-architecture. That wikipedia page was last edited on February 10, 2016, but this page https://en.wikipedia.org/wiki/Goldmont_(microarchitecture)​ states that Goldmont was unveiled at the Intel Developer forum in April, 2016, and Intel documentation dates back to 2013. I used this function

int CheckForIntelShaExtensions() {
   int a, b, c, d;

   // Look for CPUID.7.0.EBX[29]
   // EAX = 7, ECX = 0
   a = 7;
   c = 0;

   asm volatile ("cpuid"
        :"=a"(a), "=b"(b), "=c"(c), "=d"(d)
        :"a"(a), "c"(c)
       );

   // Intel® SHA Extensions feature bit is EBX[29]
   return ((b >> 29) & 1);
}

to determine that my Broadwell-U Intel Core i7 5500U does NOT support the SHA Extensions.

So I would like to confirm which micro-architectures will actually support these instructions.

Thanks.

 

 


Viewing all articles
Browse latest Browse all 685

Trending Articles