rsd-devel / rsd

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

[Bug Report] RSD didn't update fflags.NX correctly after fnmadd.s instruction #88

Closed zhangkanqi closed 1 month ago

zhangkanqi commented 1 month ago

Environment:

RSD version: bd7c5c12dfd8d20c7cb5c1d5a75f7ba59f9fce52


Bug Description:

There is a instruction fnmadd.s fs9, ft0, fs8, fa7, and ft0=0x6041bb47, fs8=0x42ad0f08, fa7=0xf86cc8d7.

After the fnmadd.s instruction, fflags maintains 0x0 in RSD. However, fflags becomes0x1 in spike.


It seems that RSD didn't update fflags.NX correctly?

zhangkanqi commented 1 month ago

Updating of fflags isn't implemented yet.