x86_64-xlate.pl: fix movzw [from HEAD].
This commit is contained in:
parent
8ff5c8874f
commit
a32bede701
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user