ARM: Add LJ_SOFTFP define. Add support for soft-float slot handling.

This commit is contained in:
Mike Pall
2011-05-16 02:38:07 +02:00
parent be73a96751
commit 1ac71f1fa8
5 changed files with 30 additions and 12 deletions

View File

@@ -143,6 +143,7 @@ typedef uint32_t SnapEntry;
#define SNAP_FRAME 0x010000 /* Frame slot. */
#define SNAP_CONT 0x020000 /* Continuation slot. */
#define SNAP_NORESTORE 0x040000 /* No need to restore slot. */
#define SNAP_SOFTFPNUM 0x080000 /* Soft-float number. */
LJ_STATIC_ASSERT(SNAP_FRAME == TREF_FRAME);
LJ_STATIC_ASSERT(SNAP_CONT == TREF_CONT);