mescc: Tinycc support: Respect word size better.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 3 Dec 2017 15:33:35 +0000 (16:33 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 3 Dec 2017 15:33:35 +0000 (16:33 +0100)
commit4ce75e8f4b9e5ee67e00a3371cebc942bd3e7a3e
tree23acf81fd1a5b895b7f8a52ead196201a7cb8ede
parent808af5001fe948b4f2927715a364e840009b7779
mescc: Tinycc support: Respect word size better.

* stage0/x86.M1 (movzwl_0x32(%ebp),%eax,movzwl_0x8(%ebp),%eax): New
  define.
* module/mes/as-i386.mes (i386:push-word-local-de-ref,
  i386:word-local->accu): New function.
* module/mes/as-i386.scm: Export them.
* module/language/c99/compiler.mes (push-local-de-ref): Respect word size.
  (ident->accu): Likewise.
module/language/c99/compiler.mes
module/mes/as-i386.mes
module/mes/as-i386.scm
stage0/x86.M1