RISC-V: Move non-ops from op_helper to cpu_helper
authorMichael Clark <mjc@sifive.com>
Tue, 10 Apr 2018 00:29:01 +0000 (12:29 +1200)
committerPalmer Dabbelt <palmer@sifive.com>
Wed, 17 Oct 2018 20:02:14 +0000 (13:02 -0700)
commitdf354dd41064491342c2f1b5d4743eed40f0fa27
treeffb0e2308d1a6edbe5396067d37de8b15cf099ba
parent85ba724fd6ad51360d61045476fd96d25dc15b9a
RISC-V: Move non-ops from op_helper to cpu_helper

This patch makes op_helper.c contain only instruction
operation helpers used by translate.c and moves any
unrelated cpu helpers into cpu_helper.c. No logic is
changed by this patch.

Signed-off-by: Michael Clark <mjc@sifive.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
target/riscv/Makefile.objs
target/riscv/cpu_helper.c [new file with mode: 0644]
target/riscv/helper.c [deleted file]
target/riscv/op_helper.c