diff options
Diffstat (limited to 'lisc/lisc.h')
-rw-r--r-- | lisc/lisc.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisc/lisc.h b/lisc/lisc.h index 941751d..d639289 100644 --- a/lisc/lisc.h +++ b/lisc/lisc.h @@ -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 { |