aboutsummaryrefslogtreecommitdiff
path: root/target/xtensa/op_helper.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-10-01 07:09:12 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2022-10-11 09:36:01 +0200
commit522365508ed88f3c975faae6d4d0ec64f53e14f9 (patch)
treec9b42f3432308f2f31a80c56830a182194a6438a /target/xtensa/op_helper.c
parentf66c8e8cd923a38e454c2d4731bccc0eede1a652 (diff)
downloadqemu-522365508ed88f3c975faae6d4d0ec64f53e14f9.zip
qemu-522365508ed88f3c975faae6d4d0ec64f53e14f9.tar.gz
qemu-522365508ed88f3c975faae6d4d0ec64f53e14f9.tar.bz2
target/i386: Remove cur_eip argument to gen_exception
All callers pass s->base.pc_next - s->cs_base, which we can just as well compute within the function. Note the special case of EXCP_VSYSCALL in which s->cs_base wasn't subtracted, but cs_base is always zero in 64-bit mode, when vsyscall is used. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20221001140935.465607-4-richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/xtensa/op_helper.c')
0 files changed, 0 insertions, 0 deletions