Implemented basic register allocation.
Mainly handles 'virtual' registers at the moment (eg current and last PC values, segment override status, etc).
This commit is contained in:
parent
03fe25d818
commit
ee3f9210dc
23 changed files with 776 additions and 76 deletions
|
|
@ -15,6 +15,15 @@
|
|||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
int codegen_host_reg_list[CODEGEN_HOST_REGS] =
|
||||
{
|
||||
REG_R4,
|
||||
REG_R5,
|
||||
REG_R6,
|
||||
// REG_X22,
|
||||
// REG_X23
|
||||
};
|
||||
|
||||
void codegen_backend_init()
|
||||
{
|
||||
int c;
|
||||
|
|
|
|||
Loading…
Reference in a new issue