Am 06.10.2015 um 19:00 schrieb Jeffrey Walton: > 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? Visual Studio supports builds events (look in the property page for "build events" in the left column). You can put them pre-build, pre-link and post-build. IIRC if the scripts / programs return "1" as opposed to "0" this triggers a build error, so we could use this to run some QA scripts. I think we shouldn't make them default for everyone though, but rather use them for our internal testing / for the RCs.
BR JPM > > 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] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout. -- -- 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.
