RV64I基础整数指令集
slli, srli,srai )也进行小小的改动。 ld 双字加载 ( L oad D oubleword). I-type, RV64I. 从地址 x[rs1] + sign-extend(offset)读取八个字节,写入 x[rd]。 压缩形式: c.ldsp rd, offset; c.ld rd, offset(rs1) imm 11 10 9 8 7 6 5 4 3 2 1 0 rs1 func3 rd opcode name type 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ld I 0 1 1 0 0 0 0 0 1 1 例子: to do lwu 无符号字加载 ( L oad W ord, U nsigned). I-type, RV64I. 从地址 x[rs1] + sign-extend(offset)读取四个字节,零扩展后写入 x[rd]。 imm 11 10 9 8 7 6 5 4 3 2 1 0 rs1 func3 rd opcode name type 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0