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.
This commit is contained in:
Ekaitz Zarraga 2022-09-21 09:43:43 +02:00 committed by Jan (janneke) Nieuwenhuizen
parent 5fc5983e50
commit 761420ac31
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -1,6 +1,7 @@
### GNU Mes --- Maxwell Equations of Software ### GNU Mes --- Maxwell Equations of Software
### Copyright © 2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> ### Copyright © 2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
### Copyright © 2018 Peter De Wachter <pdewacht@gmail.com> ### Copyright © 2018 Peter De Wachter <pdewacht@gmail.com>
### Copyright © 2022 Ekaitz Zarraga <ekaitz@elenq.tech>
### ###
### This file is part of GNU Mes. ### This file is part of GNU Mes.
### ###
@ -123,10 +124,14 @@ DEFINE mov____%rdx,%rax 4889d0
DEFINE mov____%rdx,%rdi 4889d7 DEFINE mov____%rdx,%rdi 4889d7
DEFINE mov____%rsi,(%rdi) 488937 DEFINE mov____%rsi,(%rdi) 488937
DEFINE mov____%rsp,%rbp 4889e5 DEFINE mov____%rsp,%rbp 4889e5
DEFINE mov____%si,(%rdi) 668937
DEFINE mov____%sil,(%rdi) 448837
DEFINE mov____(%rax),%eax 8b00 DEFINE mov____(%rax),%eax 8b00
DEFINE mov____(%rax),%esi 8b30 DEFINE mov____(%rax),%esi 8b30
DEFINE mov____(%rax),%rax 488b00 DEFINE mov____(%rax),%rax 488b00
DEFINE mov____(%rax),%rsi 488b30 DEFINE mov____(%rax),%rsi 488b30
DEFINE mov____(%rax),%si 668b30
DEFINE mov____(%rax),%sil 408a30
DEFINE mov____(%rdi),%edi 8b3f DEFINE mov____(%rdi),%edi 8b3f
DEFINE mov____(%rdi),%rdi 488b3f DEFINE mov____(%rdi),%rdi 488b3f
DEFINE mov____0x32(%rbp),%rax 488b85 DEFINE mov____0x32(%rbp),%rax 488b85