Skip to content

Commit

Permalink
Solaris x86 perlasm update.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Polyakov committed Dec 10, 2004
1 parent 905fd45 commit 0c0788b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crypto/perlasm/x86unix.pl
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ sub main'DWC
sub main'sbb { &out2("sbbl",@_); }
sub main'rotl { &out2("roll",@_); }
sub main'rotr { &out2("rorl",@_); }
sub main'exch { &out2("xchg",@_); }
sub main'exch { &out2($_[0]=~/%[a-d][lh]/?"xchgb":"xchgl",@_); }
sub main'cmp { &out2("cmpl",@_); }
sub main'lea { &out2("leal",@_); }
sub main'mul { &out1("mull",@_); }
Expand Down Expand Up @@ -208,7 +208,7 @@ sub main'DWC
sub main'cpuid { &out0(".byte\t0x0f,0xa2"); }
sub main'rdtsc { &out0(".byte\t0x0f,0x31"); }
sub main'halt { &out0("hlt"); }
sub main'movz { &out2("movzb",@_); }
sub main'movz { &out2("movzbl",@_); }
# SSE2
sub main'emms { &out0("emms"); }
Expand Down

0 comments on commit 0c0788b

Please sign in to comment.