about summary refs log tree commit diff
path: root/amd64.e
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2026-09-09 00:02:32 -0700
committerIrene Knapp <ireneista@irenes.space>2026-09-09 00:07:25 -0700
commitf74440d8090e6b15abe47f71b169058e7b151447 (patch)
tree4750c933c15e2451e25123e1d1662843279965d6 /amd64.e
parentcdf13a70a8840d5f79c16c3d4b0aa84d53cbc46e (diff)
provide a #swap operation in comment templates
and use it in a couple places in amd64.e where it's needed

Change-Id: Id73dcd13f08c03aa02ac09e45ab034fcd90f2569
Force-Push: yes
Diffstat (limited to 'amd64.e')
-rw-r--r--amd64.e2
1 files changed, 1 insertions, 1 deletions
diff --git a/amd64.e b/amd64.e
index c6dabb4..e647f9b 100644
--- a/amd64.e
+++ b/amd64.e
@@ -678,7 +678,7 @@ s" :cc-greater" keyword
 
 ~ (output point, source register, target register -- output point)
 : mov-reg64-reg64
-  ~ : 1 # # mov-reg64-reg64
+  ~ : 1 #swap # # mov-reg64-reg64
   3roll rex-w 0x89 pack8 3unroll
   swap reg64 swap addressing-reg64 ;
 : mov-indirect-reg64-reg64