riscv-software-src / riscv-tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

c.lui HINT used in RVC test

EPSILON0-dev opened this issue · comments

RVC specifications states that c.lui with rd=0 (x8/s0) is a reserved HINT and should not modify any registers, but in RVC test (isa/rv64uc/rvc.S) on line 53 and 55 there's a c.lui s0, 0xfffe1 instruction.

Is this a problem with the test or with the documentation?
Or maybe I misunderstood something?

Turns out i missunderstood something, never mind