Hardware interview practice
Separate ISA Guarantees from Core Implementation
An RTOS is being ported from an Armv8-A platform to an RV64 platform. Both implementations happen to have caches, an MMU, and out-of-order execution. Which statement is safe for the porting plan?
Choose one
Answer choices
- A. The instruction encodings, privilege architecture, exception details, page-table format, and memory-ordering rules must be ported to the target ISA; caches and out-of-order execution are implementation choices and do not make the two platforms binary- or barrier-compatible.
- B. RISC-V openness means every RV64 core has the same optional extensions and microarchitecture, while every Arm core is fixed by one company implementation.
- C. Because both cores have an MMU and caches, the same executable, page tables, and barrier instructions are guaranteed to work unchanged.
- D. Memory ordering is a compiler-only property, so device drivers need no ISA-specific fences or memory attributes on either platform.
