projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* src/z80/ralloc.c (packRegsForHLUse3): Created and optimised.
[fw/sdcc]
/
src
/
z80
/
ralloc.h
diff --git
a/src/z80/ralloc.h
b/src/z80/ralloc.h
index 23b7551b12f846df7995843e0c5f6459b782fd7d..fb93bdc993aba1bbebb271212b212f4887d674a2 100644
(file)
--- a/
src/z80/ralloc.h
+++ b/
src/z80/ralloc.h
@@
-50,9
+50,14
@@
enum
CND_IDX
};
CND_IDX
};
-#define REG_PTR 0x01
-#define REG_GPR 0x02
-#define REG_CND 0x04
+enum
+ {
+ REG_PTR = 1,
+ REG_GPR = 2,
+ REG_CND = 4,
+ REG_PAIR = 8
+ };
+
/* definition for the registers */
typedef struct regs
{
/* definition for the registers */
typedef struct regs
{
@@
-70,5
+75,6
@@
void assignRegisters (eBBlock **, int);
regs *regWithIdx (int);
void z80_assignRegisters (eBBlock ** ebbs, int count);
regs *regWithIdx (int);
void z80_assignRegisters (eBBlock ** ebbs, int count);
+bitVect *z80_rUmaskForOp (operand * op);
#endif
#endif