On 21/10/26 08:46, Stian Halseth wrote:
ASR 26 returns a Compatibility Feature Register (CFR) when the
crypto feature is on. Without the crypto feature, a read keeps
strand status as before.
Return an empty CFR. Each instruction patch sets its bit.
Guests can read the CFR before using each crypto instruction.
Based on OSA (Oracle SPARC Architecture) 2011:
- 5.5 (Ancillary State Registers), table 5-8
- 5.5.11 Compatibility Feature Register (CFR), table 5-15
Signed-off-by: Stian Halseth <[email protected]>
---
target/sparc/insns.decode | 5 ++++-
target/sparc/translate.c | 14 ++++++++++++++
2 files changed, 18 insertions(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>