diff options
author | Andy Polyakov <appro@openssl.org> | 2016-07-10 12:05:43 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2016-07-15 13:20:52 +0200 |
commit | 9c940446f614d1294fa197ffd4128206296b04da (patch) | |
tree | d5fe003438949d0fbd62a18a8892fe023f2d082e /crypto/perlasm/x86_64-xlate.pl | |
parent | b1837abd674f62a04f1191c68ca7e5c3101ce5a0 (diff) |
crypto/x86[_64]cpuid.pl: add OPENSSL_ia32_rd[rand|seed]_bytes.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/perlasm/x86_64-xlate.pl')
-rwxr-xr-x | crypto/perlasm/x86_64-xlate.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/perlasm/x86_64-xlate.pl b/crypto/perlasm/x86_64-xlate.pl index 60b98d7407..617adf9a38 100755 --- a/crypto/perlasm/x86_64-xlate.pl +++ b/crypto/perlasm/x86_64-xlate.pl @@ -805,7 +805,7 @@ my $rdrand = sub { my @opcode=(); my $dst=$1; if ($dst !~ /[0-9]+/) { $dst = $regrm{"%e$dst"}; } - rex(\@opcode,0,$1,8); + rex(\@opcode,0,$dst,8); push @opcode,0x0f,0xc7,0xf0|($dst&7); @opcode; } else { @@ -818,7 +818,7 @@ my $rdseed = sub { my @opcode=(); my $dst=$1; if ($dst !~ /[0-9]+/) { $dst = $regrm{"%e$dst"}; } - rex(\@opcode,0,$1,8); + rex(\@opcode,0,$dst,8); push @opcode,0x0f,0xc7,0xf8|($dst&7); @opcode; } else { |