summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2011-08-12 21:25:23 +0000
committerAndy Polyakov <appro@openssl.org>2011-08-12 21:25:23 +0000
commita32bede701182587d39b5ea668343390935eab8e (patch)
tree56670eb1a165975c5f81dc5430f0654e29a26e99
parent8ff5c8874f09e448f1aec7991d2c4fe273ae3ab2 (diff)
x86_64-xlate.pl: fix movzw [from HEAD].
-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 784f458714..fcb0ce0251 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