| 28 |
#define _SLJIT_CONFIG_INTERNAL_H_ |
#define _SLJIT_CONFIG_INTERNAL_H_ |
| 29 |
|
|
| 30 |
/* |
/* |
| 31 |
SLJIT defines the following variables itself depending on the configuration: |
SLJIT defines the following macros depending on the target architecture: |
| 32 |
sljit_b, sljit_ub : signed and unsigned 8 bit byte |
|
| 33 |
sljit_h, sljit_uh : signed and unsigned 16 bit half-word (short) type |
Feature detection (boolean) macros: |
|
sljit_i, sljit_ui : signed and unsigned 32 bit integer type |
|
|
sljit_w, sljit_uw : signed and unsigned machine word, enough to store a pointer (same as intptr_t) |
|
|
SLJIT_CALL : C calling convention for both calling JIT and C callbacks from JIT |
|
| 34 |
SLJIT_32BIT_ARCHITECTURE : 32 bit architecture |
SLJIT_32BIT_ARCHITECTURE : 32 bit architecture |
| 35 |
SLJIT_64BIT_ARCHITECTURE : 64 bit architecture |
SLJIT_64BIT_ARCHITECTURE : 64 bit architecture |
| 36 |
SLJIT_WORD_SHIFT : the shift required to apply when accessing a sljit_w/sljit_uw array by index |
SLJIT_WORD_SHIFT : the shift required to apply when accessing a sljit_w/sljit_uw array by index |
| 37 |
SLJIT_FLOAT_SHIFT : the shift required to apply when accessing a double array by index |
SLJIT_FLOAT_SHIFT : the shift required to apply when accessing a double array by index |
|
SLJIT_BIG_ENDIAN : big endian architecture |
|
| 38 |
SLJIT_LITTLE_ENDIAN : little endian architecture |
SLJIT_LITTLE_ENDIAN : little endian architecture |
| 39 |
SLJIT_INDIRECT_CALL : see SLJIT_FUNC_OFFSET() |
SLJIT_BIG_ENDIAN : big endian architecture |
| 40 |
SLJIT_W : for defining 64 bit constants on 64 bit architectures (compiler workaround) |
SLJIT_UNALIGNED : allows unaligned memory accesses for non-fpu operations (only!) |
| 41 |
SLJIT_UNALIGNED : allows unaligned memory accesses for integer arithmetic (only!) |
SLJIT_INDIRECT_CALL : see SLJIT_FUNC_OFFSET() for more information |
| 42 |
|
|
| 43 |
|
Types and useful macros: |
| 44 |
|
sljit_b, sljit_ub : signed and unsigned 8 bit byte |
| 45 |
|
sljit_h, sljit_uh : signed and unsigned 16 bit half-word (short) type |
| 46 |
|
sljit_i, sljit_ui : signed and unsigned 32 bit integer type |
| 47 |
|
sljit_w, sljit_uw : signed and unsigned machine word, enough to store a pointer (same as intptr_t) |
| 48 |
|
SLJIT_CALL : C calling convention define for both calling JIT form C and C callbacks for JIT |
| 49 |
|
SLJIT_W(number) : defining 64 bit constants on 64 bit architectures (compiler independent helper) |
| 50 |
*/ |
*/ |
| 51 |
|
|
| 52 |
#if !((defined SLJIT_CONFIG_X86_32 && SLJIT_CONFIG_X86_32) \ |
#if !((defined SLJIT_CONFIG_X86_32 && SLJIT_CONFIG_X86_32) \ |