about summary refs log tree commit diff stats
path: root/apps
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-09-29 19:24:29 -0700
committerKartik Agaram <vc@akkartik.com>2020-09-29 19:24:29 -0700
commitcf1ddc4170e9d76eea196e4bc34dcf5f9bc66fdd (patch)
treecd71b89a9cb02cfeab2013424d3bf38e71745854 /apps
parentd2b9c7283aa497d4bae69c0f6e50484ab7d104ea (diff)
downloadmu-cf1ddc4170e9d76eea196e4bc34dcf5f9bc66fdd.tar.gz
6902
Diffstat (limited to 'apps')
-rwxr-xr-xapps/bracesbin46729 -> 46729 bytes
-rwxr-xr-xapps/callsbin51376 -> 51376 bytes
-rwxr-xr-xapps/mubin395979 -> 396171 bytes
-rw-r--r--apps/mu.subx62
-rwxr-xr-xapps/sigilsbin59098 -> 59098 bytes
5 files changed, 60 insertions, 2 deletions
diff --git a/apps/braces b/apps/braces
index 921d8e75..2a7f5ec2 100755
--- a/apps/braces
+++ b/apps/braces
Binary files differdiff --git a/apps/calls b/apps/calls
index 20a3e917..97e8f67c 100755
--- a/apps/calls
+++ b/apps/calls
Binary files differdiff --git a/apps/mu b/apps/mu
index 93992467..3578f813 100755
--- a/apps/mu
+++ b/apps/mu
Binary files differdiff --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
diff --git a/apps/sigils b/apps/sigils
index 64129139..7c99b943 100755
--- a/apps/sigils
+++ b/apps/sigils
Binary files differ