summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTee-Kiah Chia <hapax.mmxiii@icloud.com>2015-01-18 12:39:36 +0800
committerLubomir Rintel <lkundrak@v3.sk>2015-11-27 11:58:46 +0100
commitcf722844440fea05c1700d1691bdaf1135e6e6ca (patch)
treec403c1aed7c10d202e0225f0e3943bfe55d7f69b
parentce888f680485094f9e37e1c6262167514d83ec4b (diff)
downloaddev86-cf722844440fea05c1700d1691bdaf1135e6e6ca.tar.gz
copt: fix a minor glitch in copt/rules.86
-rw-r--r--copt/rules.866
1 files changed, 3 insertions, 3 deletions
diff --git a/copt/rules.86 b/copt/rules.86
index 9ec1235..a39ec06 100644
--- a/copt/rules.86
+++ b/copt/rules.86
@@ -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.
@@ -360,7 +360,7 @@ mov %1,%1
jmp .%1
jmp .%2
=
-jmp %1
+jmp .%1
ret
jmp %2
@@ -473,7 +473,7 @@ pop bx
pop cx
pop dx
=
-! push/pop float
+# poof
# Long right shift by 16 unsigned
mov ax,%1