aboutsummaryrefslogtreecommitdiff
path: root/crypto/perlasm/x86_64-xlate.pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2011-08-12 21:24:19 +0000
committerAndy Polyakov <appro@openssl.org>2011-08-12 21:24:19 +0000
commit272ba8701715aa8a9dd8f2b9eabd9bcd2e3356a6 (patch)
tree7b2f87fe3f4f0f1c75f7f31084b1befbf0bd6546 /crypto/perlasm/x86_64-xlate.pl
parent361512da0d900ba276096cbd152e304d402aca65 (diff)
downloadopenssl-272ba8701715aa8a9dd8f2b9eabd9bcd2e3356a6.zip
openssl-272ba8701715aa8a9dd8f2b9eabd9bcd2e3356a6.tar.gz
openssl-272ba8701715aa8a9dd8f2b9eabd9bcd2e3356a6.tar.bz2
x86_64-xlate.pl: fix movzw.
Diffstat (limited to 'crypto/perlasm/x86_64-xlate.pl')
-rwxr-xr-xcrypto/perlasm/x86_64-xlate.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/perlasm/x86_64-xlate.pl b/crypto/perlasm/x86_64-xlate.pl
index 784f458..fcb0ce0 100755
--- a/crypto/perlasm/x86_64-xlate.pl
+++ b/crypto/perlasm/x86_64-xlate.pl
@@ -116,9 +116,9 @@ my %globals;
$line = substr($line,@+[0]); $line =~ s/^\s+//;
undef $self->{sz};
- if ($self->{op} =~ /^(movz)b.*/) { # movz is pain...
+ if ($self->{op} =~ /^(movz)x?([bw]).*/) { # movz is pain...
$self->{op} = $1;
- $self->{sz} = "b";
+ $self->{sz} = $2;
} elsif ($self->{op} =~ /call|jmp/) {
$self->{sz} = "";
} elsif ($self->{op} =~ /^p/ && $' !~ /^(ush|op|insrw)/) { # SSEn