summary refs log tree commit diff
path: root/amd64.e
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2026-09-12 17:37:08 -0700
committerIrene Knapp <ireneista@irenes.space>2026-09-12 17:37:08 -0700
commit974b73f0307158410ce8d7b9a781c9df792efed4 (patch)
tree60a63f6e8b05e35198e6d7ade5fb6818c7e28529 /amd64.e
parent8ebb8540f19896f5553b8384f5c7790d91486302 (diff)
semantic change to make subitem stack manip more convenient
this allows a much cleaner style than the #swap notation, which will likely be removed soon

Force-Push: yes
Change-Id: If9898334356eb7c036f28afd22d435e00a84f6e2
Diffstat (limited to 'amd64.e')
-rw-r--r--amd64.e4
1 files changed, 3 insertions, 1 deletions
diff --git a/amd64.e b/amd64.e
index a6503f0..ea0d5b2 100644
--- a/amd64.e
+++ b/amd64.e
@@ -745,7 +745,9 @@ s" :cc-greater" keyword
 : mov-disp8-reg64-reg64
   ~ : 1 # # # mov-disp8-reg64-reg64
   4 roll rex-w 0x89 pack8 4 unroll
-  3roll reg64 3unroll addressing-disp8-reg64 ;
+  3roll reg64 3unroll addressing-disp8-reg64
+  ~ : 3 roll-subitems
+  ;
 
 ~ (output point, source register, target register -- output point)
 : mov-reg64-indirect-reg64