@@ -987,7 +987,7 @@ sub filter_and_print {
987
987
' vpclmulqdq $0x01, %ymm2, %ymm12, %ymm4' => ' .byte 0xc4,0xe3,0x1d,0x44,0xe2,0x01' ,
988
988
' vpclmulqdq $0x01, %ymm2, %ymm12, %ymm6' => ' .byte 0xc4,0xe3,0x1d,0x44,0xf2,0x01' ,
989
989
' vpclmulqdq $0x01, %ymm3, %ymm13, %ymm4' => ' .byte 0xc4,0xe3,0x15,0x44,0xe3,0x01' ,
990
- ' vpclmulqdq $0x01, %ymm5, %ymm2, %ymm3' => ' .byte 0xc4,0xe3,0x6d,0x44,0xdd,0x01' ,
990
+ ' vpclmulqdq $0x01, %ymm5, %ymm2, %ymm3' => ' .byte 0xc4,0xe3,0x6d,0x44,0xdd,0x01' ,
991
991
' vpclmulqdq $0x01, %ymm5, %ymm3, %ymm1' => ' .byte 0xc4,0xe3,0x65,0x44,0xcd,0x01' ,
992
992
' vpclmulqdq $0x01, %ymm5, %ymm4, %ymm1' => ' .byte 0xc4,0xe3,0x5d,0x44,0xcd,0x01' ,
993
993
' vpclmulqdq $0x01, %ymm5, %ymm4, %ymm2' => ' .byte 0xc4,0xe3,0x5d,0x44,0xd5,0x01' ,
@@ -1014,6 +1014,11 @@ sub filter_and_print {
1014
1014
$trimmed =~ s /\s +(#.*)?$// ;
1015
1015
if (exists $asmMap {$trimmed }) {
1016
1016
$line = $asmMap {$trimmed };
1017
+ } else {
1018
+ if ($trimmed =~ / (vpclmulqdq|vaes).*%ymm / ) {
1019
+ die (" found instruction not supported under old binutils, please update asmMap with the results of running\n " .
1020
+ ' find target -name "*aes-gcm-avx2*.o" -exec python3 crypto/fipsmodule/aes/asm/make-avx-map-for-old-binutils.py \{\} \; | sort | uniq' );
1021
+ }
1017
1022
}
1018
1023
print $line ," \n " ;
1019
1024
}
0 commit comments