rsd-devel / rsd

RSD: RISC-V Out-of-Order Superscalar Processor
Apache License 2.0
934 stars 95 forks source link

fix: fix bugs about the reset of divider on pipeline flush #83

Closed momorrowz closed 3 months ago

momorrowz commented 4 months ago

When the divide instruction is flushed, the divider allocated by the instruction must be released, and its state must be reset. However, the internal state of the DividerUnit and FP32DivSqrter was not reset. fixed this bug so that the divider is reset correctly on a flush.