Closed flaviens closed 1 year ago
Agreed on the rs1/rd fields.
Additionally to what you stated about fm
, the following adds to the argument that we can ignore the checks on fm
and treat is as a "normal" fence - which is the only thing the core supports anyway.
The FENCE.TSO encoding was added as an optional extension to the original base FENCE instruction encoding. The base definition requires that implementations ignore any set bits and treat the FENCE as global, and so this is a backwards-compatible extension.
How'd you even find this?
Hi there!
The RISC-V specification says
Therefore, it seems that these checks should be removed.
Thanks! Flavien