From 761420ac31a0fcc55708c58bf5cdae3762a3ad7e Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Wed, 21 Sep 2022 09:43:43 +0200 Subject: [PATCH] mescc: Add X86_64 assembly defines for TinyCC compilation. * lib/x86_64-mes/x86_64.M1 ( mov____%si,(%rdi), mov____%sil,(%rdi), mov____(%rax),%si, mov____(%rax),%sil): New defines. --- lib/x86_64-mes/x86_64.M1 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/x86_64-mes/x86_64.M1 b/lib/x86_64-mes/x86_64.M1 index 9ffbbf15..6bb2b0b2 100644 --- a/lib/x86_64-mes/x86_64.M1 +++ b/lib/x86_64-mes/x86_64.M1 @@ -1,6 +1,7 @@ ### GNU Mes --- Maxwell Equations of Software ### Copyright © 2018 Jan (janneke) Nieuwenhuizen ### Copyright © 2018 Peter De Wachter +### Copyright © 2022 Ekaitz Zarraga ### ### This file is part of GNU Mes. ### @@ -123,10 +124,14 @@ DEFINE mov____%rdx,%rax 4889d0 DEFINE mov____%rdx,%rdi 4889d7 DEFINE mov____%rsi,(%rdi) 488937 DEFINE mov____%rsp,%rbp 4889e5 +DEFINE mov____%si,(%rdi) 668937 +DEFINE mov____%sil,(%rdi) 448837 DEFINE mov____(%rax),%eax 8b00 DEFINE mov____(%rax),%esi 8b30 DEFINE mov____(%rax),%rax 488b00 DEFINE mov____(%rax),%rsi 488b30 +DEFINE mov____(%rax),%si 668b30 +DEFINE mov____(%rax),%sil 408a30 DEFINE mov____(%rdi),%edi 8b3f DEFINE mov____(%rdi),%rdi 488b3f DEFINE mov____0x32(%rbp),%rax 488b85