mes/module/mescc
Jan (janneke) Nieuwenhuizen 348dcbcbd7
mescc: Only use signed division when numerator is signed.
Currently, sign-extension (CLTD vs XOR EDX) and signed division (IDIV vs
DIV) selected by setting "signed?".  See, module/mescc/x86/as.scm.
Possibly we need a signed? based on numerator and denominator, and
add a extend-sign? based on the signedness of the numerator?

* module/mescc/compile.scm (expr->register): Base "signed?" strictly on
signedness of numerator.
2021-01-01 10:31:46 +01:00
..
armv4 ARM: Revert to 4 byte types only. 2021-01-23 08:43:40 +01:00
i386 mescc: Use signed division for x86, x86_64 when appropriate. 2020-10-06 19:53:02 +02:00
x86_64 mescc: Use signed division for x86, x86_64 when appropriate. 2020-10-06 19:53:02 +02:00
as.scm mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
bytevectors.scm mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
compile.scm mescc: Only use signed division when numerator is signed. 2021-01-01 10:31:46 +01:00
info.scm mescc: Do not dump variables with extern storage. 2019-07-27 17:22:00 +02:00
M1.scm mescc: Use (format (current-error-port) ...) instead of stderr. 2020-12-30 21:20:19 +01:00
mescc.scm mescc: Use (format (current-error-port) ...) instead of stderr. 2020-12-30 21:20:19 +01:00
preprocess.scm mescc: Use (format (current-error-port) ...) instead of stderr. 2020-12-30 21:20:19 +01:00