mescc: Support rshift, have guile-mini-mes pass math test.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 25 Mar 2017 17:48:40 +0000 (18:48 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sat, 25 Mar 2017 17:48:40 +0000 (18:48 +0100)
commitc39c04cb5667c4844adc16058024d3f57d3f6c10
tree4082bb6da5af24984ed50426c1ead266a3aafbb2
parent701169764c728837378135f2682a5f336a42e592
mescc: Support rshift, have guile-mini-mes pass math test.

* module/mes/as-i386.mes (i386:accu>>base): New function.
* module/mes/as-i386.scm (mes): Export it.
* module/language/c99/compiler.mes (expr->accu): Support rshift.
* scaffold/t.c (math_test): Test it.
* scaffold/mini-mes.c (ash): Use it.
module/language/c99/compiler.mes
module/mes/as-i386.mes
module/mes/as-i386.scm
scaffold/mini-mes.c
scaffold/t.c