MIPS: Add interpreter. Enable MIPS build rules.

This commit is contained in:
Mike Pall
2012-01-23 22:20:28 +01:00
parent 7d2774e4c5
commit 5bed11e6b4
16 changed files with 11743 additions and 24 deletions

View File

@@ -118,14 +118,13 @@ enum {
#define CFRAME_SIZE 184
#define CFRAME_SHIFT_MULTRES 3
#elif LJ_TARGET_MIPS
/* NYI: Dummy definitions for now. */
#define CFRAME_OFS_ERRF 0
#define CFRAME_OFS_NRES 0
#define CFRAME_OFS_PREV 0
#define CFRAME_OFS_L 0
#define CFRAME_OFS_PC 0
#define CFRAME_OFS_MULTRES 0
#define CFRAME_SIZE 256
#define CFRAME_OFS_ERRF 124
#define CFRAME_OFS_NRES 120
#define CFRAME_OFS_PREV 116
#define CFRAME_OFS_L 112
#define CFRAME_OFS_PC 20
#define CFRAME_OFS_MULTRES 16
#define CFRAME_SIZE 112
#define CFRAME_SHIFT_MULTRES 3
#else
#error "Missing CFRAME_* definitions for this architecture"