PPC: Add dual-number mode interpreter.

This commit is contained in:
Mike Pall 2011-07-13 21:36:17 +02:00
parent 6599bc7db2
commit ca8dadb328
4 changed files with 7580 additions and 840 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -166,8 +166,6 @@
#define LJ_ARCH_NOFFI 1 /* NYI: comparisons, calls. */
#define LJ_ARCH_NOJIT 1
#error "No support for plain PowerPC CPUs (yet)"
#elif LUAJIT_TARGET == LUAJIT_ARCH_PPCSPE
#define LJ_ARCH_NAME "ppcspe"

View File

@ -104,8 +104,8 @@ enum {
#define CFRAME_OFS_NRES 24
#define CFRAME_OFS_PREV 20
#define CFRAME_OFS_L 16
#define CFRAME_OFS_PC 12
#define CFRAME_OFS_MULTRES 8
#define CFRAME_OFS_PC 8
#define CFRAME_OFS_MULTRES 12
#define CFRAME_SIZE 256
#define CFRAME_SHIFT_MULTRES 3
#elif LJ_TARGET_PPCSPE