Skip to content
Commit d8e753b7 authored by Bernd Edlinger's avatar Bernd Edlinger
Browse files

sim: riscv: Fix confusion with c.jal vs. c.addiw



There was apparently a confusion which cpu model uses
compressed JAL and which ADDIW.  Fixed that in execute_c,
case MATCH_C_JAL | MATCH_C_ADDIW.

Fixes 3224e32f ("sim: riscv: Add support for compressed integer instructions")

Approved-By: default avatarAndrew Burgess <aburgess@redhat.com>
parent a73073dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment