Hi all,In the table 3.4: FS and XS state transitions in page 26 of RISC-V Privileged spec v1.10, it is mentioned that there is a way to use instructions to disable (FP) extension unit and to unconfigure (FP) extension unit. Could someone explain about the difference in these instructions and its effects on (FP) extension unit.
--
You received this message because you are subscribed to the Google Groups "RISC-V ISA Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isa-dev+u...@groups.riscv.org.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/efacfcc4-5c62-4a46-82c5-d6e37fd3ed31n%40groups.riscv.org.
Thank you for replying.
In page 25 of RISC-V Privileged spec v1.10, it is mentioned that,
1)"If the status is Initial, the context must be set to an initial constant value on context restore to avoid a security hole, but this can be done without accessing memory. For example, the floating-point registers can all be initialized to the immediate value 0."
2)"Changing the setting of FS has no effect on the contents of the floating-point register state. In particular, setting FS=Off does not destroy the state, nor does setting FS=Initial clear the contents."
From the above lines, does it imply that when MSTATUS.FS is set to Initial state(01), the implementation will not initialize the FP state, rather privileged code has to initialize them?
--
You received this message because you are subscribed to the Google Groups "RISC-V ISA Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isa-dev+u...@groups.riscv.org.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/cbb2bf46-9b43-47ca-90ef-b90eb8958245n%40groups.riscv.org.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/CAF4tt%3DA_OTcvHGKMobokOrcTqKDCHRQxQ16Khd_L%2B2QVHJK0jg%40mail.gmail.com.