Skip to content

Commit 1c43441

Browse files
fix generic mov offsets
1 parent 7e18397 commit 1c43441

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

STDLIB/default-instruction-set.lm

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,7 @@ fragment mov := λ(: src LocalVariable+Sized<size>)(: dst LocalVariable+Sized<si
3131
\t 'movq \s (+( (.expression src) (*( word-offset 8 )) )) \[ '%rbp \] , \s '%r15 \n
3232
\t 'movq \s '%r15 , \s (+(
3333
(.expression dst)
34-
(+(
35-
(+( size -8 ))
36-
(inv( (*( word-offset 8 )) ))
37-
))
34+
(*( word-offset 8 ))
3835
)) \[ '%rbp \] \n
3936
)))
4037
) Nil);

tests/strict/cc2.lm.out

Whitespace-only changes.

0 commit comments

Comments
 (0)