mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-24 05:49:58 +00:00
irjit: Add extra temps to make lwl/swl/etc. easier.
This commit is contained in:
parent
905d2c2da6
commit
671be24105
@ -207,6 +207,8 @@ const char *GetGPRName(int r) {
|
||||
switch (r) {
|
||||
case IRTEMP_0: return "irtemp0";
|
||||
case IRTEMP_1: return "irtemp1";
|
||||
case IRTEMP_2: return "irtemp2";
|
||||
case IRTEMP_3: return "irtemp3";
|
||||
case IRTEMP_LHS: return "irtemp_lhs";
|
||||
case IRTEMP_RHS: return "irtemp_rhs";
|
||||
default: return "(unk)";
|
||||
|
@ -275,6 +275,8 @@ enum IRFpCompareMode {
|
||||
enum {
|
||||
IRTEMP_0 = 192,
|
||||
IRTEMP_1,
|
||||
IRTEMP_2,
|
||||
IRTEMP_3,
|
||||
IRTEMP_LHS, // Reserved for use in branches
|
||||
IRTEMP_RHS, // Reserved for use in branches
|
||||
|
||||
|
@ -662,6 +662,8 @@ bool PurgeTemps(const IRWriter &in, IRWriter &out) {
|
||||
switch (dest) {
|
||||
case IRTEMP_0:
|
||||
case IRTEMP_1:
|
||||
case IRTEMP_2:
|
||||
case IRTEMP_3:
|
||||
case IRTEMP_LHS:
|
||||
case IRTEMP_RHS:
|
||||
// Unlike other ops, these don't need to persist between blocks.
|
||||
|
Loading…
Reference in New Issue
Block a user