aesni-sha256-x86_64.pl: add missing rex in shaext.
PR: 3405
This commit is contained in:
parent
c9cf29cca2
commit
91a6bf80f8
@ -1684,7 +1684,7 @@ sub rex {
|
||||
sub sha256op38 {
|
||||
my $instr = shift;
|
||||
|
||||
if (defined($opcodelet{$instr}) && @_[0] =~ /%xmm([0-7]),\s*%xmm([0-7])/) {
|
||||
if (defined($opcodelet{$instr}) && @_[0] =~ /%xmm([0-9]+),\s*%xmm([0-9]+)/) {
|
||||
my @opcode=(0x0f,0x38);
|
||||
rex(\@opcode,$2,$1);
|
||||
push @opcode,$opcodelet{$instr};
|
||||
|
Loading…
x
Reference in New Issue
Block a user