mescc: Support bitwise or.
authorJan Nieuwenhuizen <janneke@gnu.org>
Fri, 24 Mar 2017 22:15:01 +0000 (23:15 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Fri, 24 Mar 2017 22:15:01 +0000 (23:15 +0100)
commit040b9aedfc18fda640620bbef11887e6c82580d4
tree512a1628c2192ad943d2ee92201233c33c9ecc23
parentca633abdda729ca99e8b3ef9cc94b2e5ac6ca367
mescc: Support bitwise or.

* module/mes/as-i386.mes (i386:accu-or-base): New function.
* module/mes/as-i386.scm: Export it.
* module/language/c99/compiler.mes (expr->accu): Use it; support bitwise or.
* scaffold/t.c (math_test): Test it.
* scaffold/mini-mes.c (logior): Use it.
module/mes/as-i386.mes
module/mes/as-i386.scm
scaffold/mini-mes.c
scaffold/t.c