mescc: Tinycc support: ~, ^=.
authorJan Nieuwenhuizen <janneke@gnu.org>
Fri, 21 Jul 2017 08:39:04 +0000 (10:39 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Wed, 26 Jul 2017 09:36:08 +0000 (11:36 +0200)
commiteff1e97cdf791a2cd88073a64040ad4d2bb73e44
treed6addc974b59a292fe9cd0fc01edaa54beb9cc74
parentcccbfe4c61899e13c3ea90f22a36a8576bc46a40
mescc: Tinycc support: ~, ^=.

* module/mes/as-i386.mes (i386:accu-not): New function.
  (i386:accu-negate): Rename from i386:accu-not.
* module/mes/as-i386.scm (mes): Export them.
* module/language/c99/compiler.mes (expr->accu): Support ~, ^=.
* scaffold/tests/60-math.c (test): Test it.
* stage0/x86.M1 (not____%eax): New define.
module/language/c99/compiler.mes
module/mes/as-i386.mes
module/mes/as-i386.scm
scaffold/tests/60-math.c
stage0/x86.M1