prepare for block processing
This commit is contained in:
parent
abdcbe845a
commit
49130f9edd
2 changed files with 66 additions and 11 deletions
|
@ -45,7 +45,7 @@ enum {
|
|||
NIns = 256,
|
||||
|
||||
BITS = 4,
|
||||
NBit = 8 * sizeof(uint64_t),
|
||||
NBit = 64,
|
||||
};
|
||||
|
||||
struct Bits {
|
||||
|
@ -83,6 +83,8 @@ enum {
|
|||
OSub,
|
||||
ODiv,
|
||||
ORem,
|
||||
OStore,
|
||||
OLoad,
|
||||
/* reserved instructions */
|
||||
OCopy,
|
||||
OXCltd,
|
||||
|
@ -147,7 +149,8 @@ struct Sym {
|
|||
} type;
|
||||
char name[NString];
|
||||
uint ndef, nuse;
|
||||
int cost;
|
||||
uint cost;
|
||||
uint spill;
|
||||
};
|
||||
|
||||
struct Fn {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue