]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/ppc: optimize p9 exception handling routines
authorHarsh Prateek Bora <harshpb@linux.ibm.com>
Thu, 10 Oct 2024 05:47:35 +0000 (11:17 +0530)
committerNicholas Piggin <npiggin@gmail.com>
Sun, 3 Nov 2024 23:12:57 +0000 (09:12 +1000)
commit2a05a63c1dc9698ffbd8f704772018e07853c082
tree360b01eec5c0da1bd5e1b7cf0666d513facbcd53
parent7e806070f8af07a92af6ee5bf1fa6308f91517e5
target/ppc: optimize p9 exception handling routines

Currently, p9 exception handling has multiple if-condition checks where
it does an indirect access to pending_interrupts and LPCR via env.
Pass the values during entry to avoid multiple indirect accesses.

Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
target/ppc/excp_helper.c