diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-03-11 18:11:27 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-03-11 18:16:56 -0700 |
commit | 15655a12461c0a46c0a50af7e6143cd4258c89af (patch) | |
tree | b3f32e62d3e540db0cc4739581b4ac013e2a1a2a /apps/mu.subx | |
parent | 39eb1e4963731816e28ffa910098e2de622d8de0 (diff) | |
download | mu-15655a12461c0a46c0a50af7e6143cd4258c89af.tar.gz |
6126 - support 8-byte register names
Using these is quite unsafe. But what isn't, here?
Diffstat (limited to 'apps/mu.subx')
-rw-r--r-- | apps/mu.subx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/mu.subx b/apps/mu.subx index 138ff94e..4aac8ada 100644 --- a/apps/mu.subx +++ b/apps/mu.subx @@ -7523,7 +7523,7 @@ power-of-2?: # n: int -> result/eax: boolean 0b/and-> *(ebp+8) 0/r32/eax # return (tmp2 == 0) 3d/compare-eax-and 0/imm32 - 0f 94/set-if-= %eax + 0f 94/set-byte-if-= %al 81 4/subop/and %eax 0xff/imm32 $power-of-2?:end: # . epilogue @@ -9714,7 +9714,7 @@ subx-type-equal?: # a: (handle tree type-id), b: (handle tree type-id) -> resul (is-simple-mu-type? *(ebp+0xc) 0) # => eax # return alit == blit 39/compare %eax 1/r32/ecx - 0f 94/set-if-= %eax + 0f 94/set-byte-if-= %al 81 4/subop/and %eax 0xff/imm32 $subx-type-equal?:end: # . restore registers @@ -9735,7 +9735,7 @@ is-simple-mu-type?: # a: (handle tree type-id), n: type-id -> result/eax: boole # return (a->value == n) 8b/-> *(ebp+8) 0/r32/eax 39/compare *eax 1/r32/ecx # Atom-type - 0f 94/set-if-= %eax + 0f 94/set-byte-if-= %al 81 4/subop/and %eax 0xff/imm32 $is-simple-mu-type?:end: # . restore registers |