Fix destination register for final uop of c.popretz

This commit is contained in:
Luke Wren 2023-03-20 01:31:49 +00:00
parent 6b8923a623
commit 4aed15540d
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ end else begin: instr_decompress
end else if (uop_ctr == 4'hd) begin end else if (uop_ctr == 4'hd) begin
in_uop_seq = 1'b1; in_uop_seq = 1'b1;
uop_ctr_nxt = uop_ctr + 4'h1; uop_ctr_nxt = uop_ctr + 4'h1;
instr_out = `RVOPC_NOZ_ADDI | rfmt_rd(5'd8); // li a0, 0 instr_out = `RVOPC_NOZ_ADDI | rfmt_rd(5'd10); // li a0, 0
end else if (uop_ctr == 4'he) begin end else if (uop_ctr == 4'he) begin
in_uop_seq = 1'b1; in_uop_seq = 1'b1;
uop_atomic = 1'b1; uop_atomic = 1'b1;