Skip to content

Commit 5a5057a

Browse files
yjh-styxhpax
authored andcommitted
bug in new macro (typo?): alias is SAL (to SHL), not SAR
1 parent e027b59 commit 5a5057a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x86/preinsns.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
foreach my $ss (8, 16, 32, 64) {
8484
foreach my $opp (['SHL','66'], ['SAL','66'], ['SAR','f3'], ['SHR','f2']) {
8585
my($op,$pp) = @$opp;
86-
my $ndss = ',ND' unless ($ss == $os && $op ne 'SAR');
86+
my $ndss = ',ND' unless ($ss == $os && $op ne 'SAL');
8787
push(@ol, "$op$x reg$os,rm${os}*,reg$ss [rmv: $vex.lz.$pp.0f38.$w f7 /r] BMI2,SM0-1,!FL,$fl,$ndss");
8888
}
8989
}

0 commit comments

Comments
 (0)