diff options
| author | Robert Norton | 2017-08-15 13:32:22 +0100 |
|---|---|---|
| committer | Robert Norton | 2017-08-15 13:32:22 +0100 |
| commit | 1b930fe485256d2ea93690a190132878b6365016 (patch) | |
| tree | 2fc2ffdbc0559cda0f99e58de8a923e966469205 /risc-v | |
| parent | bd47f6cea664ebb6cfd57ca405dfd4c298824b0b (diff) | |
riscv: fix incorrect argument order for store parser.
Diffstat (limited to 'risc-v')
| -rw-r--r-- | risc-v/hgen/parser.hgen | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/risc-v/hgen/parser.hgen b/risc-v/hgen/parser.hgen index ba780857..8bb8ae2b 100644 --- a/risc-v/hgen/parser.hgen +++ b/risc-v/hgen/parser.hgen @@ -15,7 +15,7 @@ | LOAD reg COMMA NUM LPAR reg RPAR { `RISCVLoad($4, $6, $2, $1.unsigned, $1.width) } | STORE reg COMMA NUM LPAR reg RPAR - { `RISCVStore($4, $6, $2, $1.width) } + { `RISCVStore($4, $2, $6, $1.width) } | ADDIW reg COMMA reg COMMA NUM { `RISCVADDIW ($6, $4, $2) } | SHIFTW reg COMMA reg COMMA NUM |
