projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ff5c88
)
x86_64-xlate.pl: fix movzw [from HEAD].
author
Andy Polyakov
<appro@openssl.org>
Fri, 12 Aug 2011 21:25:23 +0000
(21:25 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Fri, 12 Aug 2011 21:25:23 +0000
(21:25 +0000)
crypto/perlasm/x86_64-xlate.pl
patch
|
blob
|
history
diff --git
a/crypto/perlasm/x86_64-xlate.pl
b/crypto/perlasm/x86_64-xlate.pl
index 784f45871415e4d3096de87ae7644282158e96f1..fcb0ce0251a3a36e61b9c500ab3dc1a8844f4884 100755
(executable)
--- 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