mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
Sparc: avoid AREG0 for lazy condition code helpers
Make lazy condition code helpers take a parameter for CPUState instead of relying on global env. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
cffc581873
commit
2ffd9176b1
5 changed files with 49 additions and 50 deletions
|
@ -159,7 +159,7 @@ VIS_CMPHELPER(cmpne);
|
|||
#undef F_HELPER_DQ_0_1
|
||||
#undef VIS_HELPER
|
||||
#undef VIS_CMPHELPER
|
||||
DEF_HELPER_0(compute_psr, void);
|
||||
DEF_HELPER_0(compute_C_icc, i32);
|
||||
DEF_HELPER_1(compute_psr, void, env);
|
||||
DEF_HELPER_1(compute_C_icc, i32, env);
|
||||
|
||||
#include "def-helper.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue