diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-09-29 19:24:29 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-09-29 19:24:29 -0700 |
commit | cf1ddc4170e9d76eea196e4bc34dcf5f9bc66fdd (patch) | |
tree | cd71b89a9cb02cfeab2013424d3bf38e71745854 /apps/mu.subx | |
parent | d2b9c7283aa497d4bae69c0f6e50484ab7d104ea (diff) | |
download | mu-cf1ddc4170e9d76eea196e4bc34dcf5f9bc66fdd.tar.gz |
6902
Diffstat (limited to 'apps/mu.subx')
-rw-r--r-- | apps/mu.subx | 62 |
1 files changed, 60 insertions, 2 deletions
diff --git a/apps/mu.subx b/apps/mu.subx index ed6d0322..683df3be 100644 --- a/apps/mu.subx +++ b/apps/mu.subx @@ -10741,10 +10741,11 @@ $dump-vars:end: # Like Registers, but no esp or ebp Mu-registers: # (addr stream {(handle array byte), int}) # a table is a stream - 0x48/imm32/write + 0xa8/imm32/write 0/imm32/read - 0x48/imm32/length + 0xa8/imm32/length # data + # general-purpose registers # it is perfectly ok to use fake alloc-ids -- as long as you never try to reclaim them 0x11/imm32/alloc-id $Mu-register-eax/imm32 0/imm32 0x11/imm32/alloc-id $Mu-register-ecx/imm32 1/imm32 @@ -10752,6 +10753,15 @@ Mu-registers: # (addr stream {(handle array byte), int}) 0x11/imm32/alloc-id $Mu-register-ebx/imm32 3/imm32 0x11/imm32/alloc-id $Mu-register-esi/imm32 6/imm32 0x11/imm32/alloc-id $Mu-register-edi/imm32 7/imm32 + # floating-point registers + 0x11/imm32/alloc-id $Mu-register-xmm0/imm32 0/imm32 + 0x11/imm32/alloc-id $Mu-register-xmm1/imm32 1/imm32 + 0x11/imm32/alloc-id $Mu-register-xmm2/imm32 2/imm32 + 0x11/imm32/alloc-id $Mu-register-xmm3/imm32 3/imm32 + 0x11/imm32/alloc-id $Mu-register-xmm4/imm32 4/imm32 + 0x11/imm32/alloc-id $Mu-register-xmm5/imm32 5/imm32 + 0x11/imm32/alloc-id $Mu-register-xmm6/imm32 6/imm32 + 0x11/imm32/alloc-id $Mu-register-xmm7/imm32 7/imm32 $Mu-register-eax: 0x11/imm32/alloc-id @@ -10783,6 +10793,54 @@ $Mu-register-edi: 3/imm32/size 0x65/e 0x64/d 0x69/i +$Mu-register-xmm0: + 0x11/imm32/alloc-id:fake:payload + # "xmm0" + 0x4/imm32/size + 0x78/x 0x6d/m 0x6d/m 0x30/0 + +$Mu-register-xmm1: + 0x11/imm32/alloc-id:fake:payload + # "xmm1" + 0x4/imm32/size + 0x78/x 0x6d/m 0x6d/m 0x31/1 + +$Mu-register-xmm2: + 0x11/imm32/alloc-id:fake:payload + # "xmm2" + 0x4/imm32/size + 0x78/x 0x6d/m 0x6d/m 0x32/2 + +$Mu-register-xmm3: + 0x11/imm32/alloc-id:fake:payload + # "xmm3" + 0x4/imm32/size + 0x78/x 0x6d/m 0x6d/m 0x33/3 + +$Mu-register-xmm4: + 0x11/imm32/alloc-id:fake:payload + # "xmm4" + 0x4/imm32/size + 0x78/x 0x6d/m 0x6d/m 0x34/4 + +$Mu-register-xmm5: + 0x11/imm32/alloc-id:fake:payload + # "xmm5" + 0x4/imm32/size + 0x78/x 0x6d/m 0x6d/m 0x35/5 + +$Mu-register-xmm6: + 0x11/imm32/alloc-id:fake:payload + # "xmm6" + 0x4/imm32/size + 0x78/x 0x6d/m 0x6d/m 0x36/6 + +$Mu-register-xmm7: + 0x11/imm32/alloc-id:fake:payload + # "xmm7" + 0x4/imm32/size + 0x78/x 0x6d/m 0x6d/m 0x37/7 + == code # return first 'name' from the top (back) of 'vars' and create a new var for a fn output if not found |