rsd-devel / rsd

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

[Bug Report] `fflags.NV` is not set correctly after `fsqrt.s` instruction #89

Closed zhangkanqi closed 4 months ago

zhangkanqi commented 4 months ago

Environment:

RSD version: bd7c5c12dfd8d20c7cb5c1d5a75f7ba59f9fce52


Bug Description:

There is an instruction fsqrt.s fa6, ft3, where ft3=0xa18d6339.

After the fsqrt.s instruction, fflags.NV flag in RSD maintains 0 . However, fflags.NV flag in spike is set to 1 .


It seems that RSD doesn't update fflags.NV correctly?

zhangkanqi commented 4 months ago

Updating of fflags isn't implemented yet.