aboutsummaryrefslogtreecommitdiff
path: root/target/sh4/translate.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-10-27 00:13:00 +0100
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-10-27 00:22:56 +0100
commit02b8e735c16d50e2108621a4af283989b38f508b (patch)
tree9e555684eff38a8ad8fddc4623d8f722acaa7622 /target/sh4/translate.c
parent45514b48df9d46478b10929cdfe1b74f01dceb99 (diff)
target/sh4: Update coding style to make checkpatch.pl happy
Avoid checkpatch.pl warnings in the next commit. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'target/sh4/translate.c')
-rw-r--r--target/sh4/translate.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/target/sh4/translate.c b/target/sh4/translate.c
index 60c863d9e1..ec5b04889e 100644
--- a/target/sh4/translate.c
+++ b/target/sh4/translate.c
@@ -1959,9 +1959,11 @@ static void decode_gusa(DisasContext *ctx, CPUSH4State *env)
NEXT_INSN;
switch (ctx->opcode & 0xf00f) {
case 0x6003: /* mov Rm,Rn */
- /* Here we want to recognize ld_dst being saved for later consumtion,
- or for another input register being copied so that ld_dst need not
- be clobbered during the operation. */
+ /*
+ * Here we want to recognize ld_dst being saved for later consumtion,
+ * or for another input register being copied so that ld_dst need not
+ * be clobbered during the operation.
+ */
op_dst = B11_8;
mv_src = B7_4;
if (op_dst == ld_dst) {