mescc: Lshift support non-fixed shift value.
authorJan Nieuwenhuizen <janneke@gnu.org>
Fri, 24 Mar 2017 21:32:02 +0000 (22:32 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Fri, 24 Mar 2017 21:32:02 +0000 (22:32 +0100)
commitca633abdda729ca99e8b3ef9cc94b2e5ac6ca367
tree074bf3ad492c90c4748e80cf6b090647cb33ec75
parentce55c198c051e0a66c10eb80e832f29ab0f0f214
mescc: Lshift support non-fixed shift value.

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