diff options
| author | Laurent Vivier | 2018-01-04 02:28:58 +0100 |
|---|---|---|
| committer | Laurent Vivier | 2018-01-04 16:44:48 +0100 |
| commit | 4131c242cc850aaf76e59d4c787d220f07850cf5 (patch) | |
| tree | 5f79c03f1902da3751f3de3ff536441a270cd823 /linux-user | |
| parent | target-m68k: sync CC_OP before gen_jmp_tb() (diff) | |
| download | qemu-4131c242cc850aaf76e59d4c787d220f07850cf5.tar.gz qemu-4131c242cc850aaf76e59d4c787d220f07850cf5.tar.xz qemu-4131c242cc850aaf76e59d4c787d220f07850cf5.zip | |
target/m68k: fix gen_get_ccr()
As gen_helper_get_ccr() is able to compute CCR from cc_op and
flags, we don't need to flush flags before to call it.
flush_flags() and get_ccr() use COMPUTE_CCR() to compute
flags. get_ccr() computes CCR value,
whereas flush_flags update live cc_op and flags.
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20180104012913.30763-3-laurent@vivier.eu>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions
