SI-RISCV / e200_opensource

Deprecated, please go to next generation Ultra-Low Power RISC-V Core https://github.com/riscv-mcu/e203_hbirdv2
https://github.com/riscv-mcu/e203_hbirdv2
Apache License 2.0
2.6k stars 1k forks source link

Fix conditional operator in e203_exu_alu_muldiv #47

Open sylwpro opened 4 years ago

sylwpro commented 4 years ago

Expressions in conditional operator are not self-determined. Unsigned type is propagated to all operands of the expression. Added $signed to prevent it.