Hi Everyone,

I want to add some post-build sanity checks to Visual Studio builds. For 
example, to ensure AES-NI intrinsics were actually used during the build, 
we can perform the following. But I don't know how we can incorporate it as 
a QA step.

How can we add this (and similar) as a QA step somewhere in the process?

Jeff

# Open a Visual Studio command prompt, cd to Crypto++ directory
cryptopp-5.6.3>dumpbin /disasm Win32/cryptlib/Debug/rijndael.obj | findstr 
aes
  000000C1: 66 0F 3A DF C0 00  aeskeygenassist xmm0,xmm0,0
  00000206: 66 0F 3A DF C0 00  aeskeygenassist xmm0,xmm0,0
  00000345: 66 0F 38 DB 04 81  aesimc      xmm0,xmmword ptr [ecx+eax*4]
  00000366: 66 0F 38 DB 04 81  aesimc      xmm0,xmmword ptr [ecx+eax*4]
  0000039F: 66 0F 38 DB 04 81  aesimc      xmm0,xmmword ptr [ecx+eax*4]
  00000078: 66 0F 38 DC C8     aesenc      xmm1,xmm0
  000000AB: 66 0F 38 DC C8     aesenc      xmm1,xmm0
  000000DA: 66 0F 38 DC C8     aesenc      xmm1,xmm0
  00000104: 66 0F 38 DD C8     aesenclast  xmm1,xmm0
  00000102: 66 0F 38 DC C8     aesenc      xmm1,xmm0
  0000012A: 66 0F 38 DC C8     aesenc      xmm1,xmm0
  00000152: 66 0F 38 DC C8     aesenc      xmm1,xmm0
  0000017A: 66 0F 38 DC C8     aesenc      xmm1,xmm0
  000001B9: 66 0F 38 DD C8     aesenclast  xmm1,xmm0
  000001E1: 66 0F 38 DD C8     aesenclast  xmm1,xmm0
  00000209: 66 0F 38 DD C8     aesenclast  xmm1,xmm0
  0000022B: 66 0F 38 DD C8     aesenclast  xmm1,xmm0
  00000078: 66 0F 38 DE C8     aesdec      xmm1,xmm0
  000000AB: 66 0F 38 DE C8     aesdec      xmm1,xmm0
  000000DA: 66 0F 38 DE C8     aesdec      xmm1,xmm0
  00000104: 66 0F 38 DF C8     aesdeclast  xmm1,xmm0
  00000102: 66 0F 38 DE C8     aesdec      xmm1,xmm0
  0000012A: 66 0F 38 DE C8     aesdec      xmm1,xmm0
  00000152: 66 0F 38 DE C8     aesdec      xmm1,xmm0
  0000017A: 66 0F 38 DE C8     aesdec      xmm1,xmm0
  000001B9: 66 0F 38 DF C8     aesdeclast  xmm1,xmm0
  000001E1: 66 0F 38 DF C8     aesdeclast  xmm1,xmm0
  00000209: 66 0F 38 DF C8     aesdeclast  xmm1,xmm0
  0000022B: 66 0F 38 DF C8     aesdeclast  xmm1,xmm0

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to