mes/stage0
Jan Nieuwenhuizen 0f87473105
mescc: Tinycc support: Support bit-fields.
* module/language/c99/compiler.mes (struct->fields): Support bit-fields.
  (ast->type):
  (field-field):
  (field-offset):
  (expr->accu*):
  (expr->accu):
  (struct-field):
  (->size):
* module/language/c99/info.scm (<bit-field>): New type.
* stage0/x86.M1 (and____$i32,%eax, and____(%edx),%eax,
  mov____(%edx),%eax, or____(%edx),%eax): New macro.
* module/mes/as-i386.mes (i386:base-mem->accu): Use
  it.
  (i386:accu-and, i386:accu-and-base-mem, i386:accu-or-base-mem): New
  function.
* module/mes/as-i386.scm: Export them.
* scaffold/tests/7q-bit-field.c: Test it.
* build-aux/check-mescc.sh (tests): Run it.
2018-05-13 17:05:28 +02:00
..
elf-0footer.hex2 doc: Release udpate. 2017-11-21 19:22:26 +01:00
elf32-0header.hex2 doc: Release udpate. 2017-11-21 19:22:26 +01:00
elf32-body-exit-42.hex2 doc: Release udpate. 2017-11-21 19:22:26 +01:00
elf32-footer-single-main.hex2 doc: Release udpate. 2017-11-21 19:22:26 +01:00
elf32-header.hex2 doc: Release udpate. 2017-11-21 19:22:26 +01:00
elf32.hex3 doc: Release udpate. 2017-11-21 19:22:26 +01:00
exit-42.c doc: Release udpate. 2017-11-21 19:22:26 +01:00
x86.M1 mescc: Tinycc support: Support bit-fields. 2018-05-13 17:05:28 +02:00