notaz.gp2x.de
/
ia32rtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update asm
[ia32rtools.git]
/
run_sed.sh
diff --git
a/run_sed.sh
b/run_sed.sh
index
df6ae5d
..
b1d0940
100755
(executable)
--- a/
run_sed.sh
+++ b/
run_sed.sh
@@
-29,9
+29,11
@@
s/\<jmp\tsub_/jmp\tnear ptr sub_/;\
# manual fixup:
# - 'end start' -> 'end'
# manual fixup:
# - 'end start' -> 'end'
-# - '
lea ecx, [ecx+0]
' -> align
+# - '
mov edi, edi', 'lea ...
' -> align
# - add 'near ptr' to some jumps
# - add 'near ptr' to some jumps
-# - 'cmp [ebp+edx+0], cl' -> 'cmp [e
dx+ebp
+0], cl'
+# - 'cmp [ebp+edx+0], cl' -> 'cmp [e
bp+edx*1
+0], cl'
# - 0FFxxh constants - masm treats a byte, ONLY sometimes prefix with 'word ptr'
# - jmp near:
# - jmp _strchr
# - 0FFxxh constants - masm treats a byte, ONLY sometimes prefix with 'word ptr'
# - jmp near:
# - jmp _strchr
+# - search for 'dword_xx+N', make byte/word, also word->byte
+# - get rid of type propagation, regenerate as 'simple' var_