diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-12-30 01:03:31 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-12-30 01:21:00 -0800 |
commit | 46c947224f1a33e941b0bd1e65730c9abef0a161 (patch) | |
tree | 336f28e0bdd9016cbeafbaa844b37be431a7d81f /apps | |
parent | d6f886a51fdd248bac6616b4647a9ed1e5c145a6 (diff) | |
download | mu-46c947224f1a33e941b0bd1e65730c9abef0a161.tar.gz |
5844
Let's start putting r32 first in compare instructions that need it. Ordering there is quite subtle and of great import.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/calls.subx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/calls.subx b/apps/calls.subx index 030509ed..0e4d113e 100644 --- a/apps/calls.subx +++ b/apps/calls.subx @@ -823,7 +823,7 @@ $next-word-string-or-expression-without-metadata:check0: # . ecx = line->read 8b/-> *(esi+4) 1/r32/ecx # . if (ecx >= line->write) return out = {0, 0} - 3b/compare *esi 1/r32/ecx + 3b/compare 1/r32/ecx *esi 0f 8d/jump-if-greater-or-equal $next-word-string-or-expression-without-metadata:return-eol/disp32 $next-word-string-or-expression-without-metadata:check-for-comment: # out->start = &line->data[line->read] @@ -909,7 +909,7 @@ $next-word-string-or-expression-without-metadata:check-for-end-of-call: # . ecx = line->read 8b/-> *(esi+4) 1/r32/ecx # . if (ecx >= line->write) return {0, 0} - 3b/compare *esi 1/r32/ecx + 3b/compare 1/r32/ecx *esi 0f 8d/jump-if-greater-or-equal $next-word-string-or-expression-without-metadata:return-eol/disp32 # if (line->data[line->read] == '/') goto error3 # . eax = line->data[line->read] @@ -928,7 +928,7 @@ $next-word-string-or-expression-without-metadata:check-for-end-of-call: # . ecx = line->read 8b/-> *(esi+4) 1/r32/ecx # . if (ecx >= line->write) return {0, 0} - 3b/compare *esi 1/r32/ecx + 3b/compare 1/r32/ecx *esi 0f 8d/jump-if-greater-or-equal $next-word-string-or-expression-without-metadata:return-eol/disp32 # if (line->data[line->read] == '#') return out = {0, 0} # . eax = line->data[line->read] |