mescc: Fix clobbering of struct by value assign.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 6 Oct 2018 18:23:43 +0000 (20:23 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sat, 6 Oct 2018 18:23:43 +0000 (20:23 +0200)
commitdc4b7f3a3719bfaa7fd45ff3593e5dbcb829b742
treeaca53133b8827d201a497b25894dfcd470c7c080
parent1f359b07a8f223749f140454bc751182bbab16e1
mescc: Fix clobbering of struct by value assign.

* module/mescc/x86_64/as.scm (long-r0->r1-mem): New instruction.
* module/mescc/i386/as.scm: Likewise.
* lib/x86_64-mes/x86_64.M1: Support it.
* module/mescc/compile.scm (r0->r1-mem*n-): Fix clobbering.
lib/x86-mes/x86.M1
lib/x86_64-mes/x86_64.M1
module/mescc/compile.scm
module/mescc/i386/as.scm
module/mescc/x86_64/as.scm