target/riscv: Fix wrong expanding for c.fswsp
PATCH 1/1 target/riscv: Fix wrong expanding for c.fswsp
From: Kito Cheng <[email protected]>
base register is no rs1 not rs2 for fsw.
--- target/riscv/insn_trans/trans_rvc.inc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
target/riscv/insn_trans/trans_rvc.inc.c +1 -1
@@ -337,7 +337,7 @@ static bool trans_c_fswsp_sdsp(DisasContext *ctx, arg_c_fswsp_sdsp *a) {#ifdef TARGET_RISCV32 /* C.FSWSP */ -arg_fsw a_fsw = { .rs1 = a->rs2, .rs2 =2 , .imm = a->uimm_fswsp }; +arg_fsw a_fsw = { .rs1 =2 , .rs2 = a->rs2, .imm = a->uimm_fswsp };return trans_fsw (ctx, &a_fsw);#else /* C.SDSP */
Signature · 1 line
1.8.3.1
Patchew URL: https://patchew.org/QEMU/[email protected]/
Patchew URL: https://patchew.org/QEMU/[email protected]/
Hi,
This series seems to have some coding style problems. See output below for more information:
Message-id: [email protected]
Subject: [Qemu-devel] [PATCH] target/riscv: Fix wrong expanding for c.fswsp
Type: series
=== TEST SCRIPT BEGIN ===
#!/bin/bash
git rev-parse base > /dev/null || exit 0
git config --local diff.renamelimit 0
git config --local diff.renames True
git config --local diff.algorithm histogram./scripts/checkpatch.pl --mailback base..
=== TEST SCRIPT END ===
Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
From https://github.com/patchew-project/qemu
7e9a2137ce..49fc899f8d master -> master t [tag update] patchew/[email protected] -> patchew/[email protected] t [tag update] patchew/[email protected] -> patchew/[email protected] t [tag update] patchew/[email protected] -> patchew/[email protected] * [new tag] patchew/[email protected] -> patchew/[email protected] t [tag update] patchew/[email protected] -> patchew/[email protected] t [tag update] patchew/[email protected] -> patchew/[email protected] t [tag update] patchew/[email protected] -> patchew/[email protected] t [tag update] patchew/20190324180523.GA23979@erokenlabserver -> patchew/20190324180523.GA23979@erokenlabserver t [tag update] patchew/[email protected] -> patchew/[email protected] t [tag update] patchew/[email protected] -> patchew/[email protected] t [tag update] patchew/[email protected] -> patchew/[email protected] t [tag update] patchew/[email protected] -> patchew/[email protected]
Switched to a new branch 'test'
=== OUTPUT BEGIN ===
checkpatch.pl: no revisions returned for revlist '1' === OUTPUT END ===
Test command exited with code: 255
The full log is available at
http://patchew.org/logs/[email protected]/testing.checkpatch/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to [email protected]