Skip to content

Commit

Permalink
copt: fix a minor glitch in copt/rules.86
Browse files Browse the repository at this point in the history
  • Loading branch information
tkchia authored and lkundrak committed Nov 27, 2015
1 parent ce888f6 commit cf72284
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions copt/rules.86
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ mov %3,%2

mov %1,%1
=
!mov %1,%1
# poof

# Sometimes the compiler puts a jump right after a ret or another jump
# (in if-else-if constructions). Eliminate the second unnecessary jump.
Expand All @@ -360,7 +360,7 @@ mov %1,%1
jmp .%1
jmp .%2
=
jmp %1
jmp .%1

ret
jmp %2
Expand Down Expand Up @@ -473,7 +473,7 @@ pop bx
pop cx
pop dx
=
! push/pop float
# poof

# Long right shift by 16 unsigned
mov ax,%1
Expand Down

0 comments on commit cf72284

Please sign in to comment.