|
@ -26,13 +26,14 @@ |
|
|
* |
|
|
* |
|
|
* A B C D E F G H Big endian (e.g. 68k) DUK_USE_DOUBLE_BE |
|
|
* A B C D E F G H Big endian (e.g. 68k) DUK_USE_DOUBLE_BE |
|
|
* H G F E D C B A Little endian (e.g. x86) DUK_USE_DOUBLE_LE |
|
|
* H G F E D C B A Little endian (e.g. x86) DUK_USE_DOUBLE_LE |
|
|
* D C B A H G F E Mixed/cross endian (e.g. ARM) DUK_USE_DOUBLE_ME |
|
|
* D C B A H G F E Mixed endian (e.g. ARM FPA) DUK_USE_DOUBLE_ME |
|
|
* |
|
|
* |
|
|
* ARM is a special case: ARM double values are in mixed/cross endian |
|
|
* Legacy ARM (FPA) is a special case: ARM double values are in mixed |
|
|
* format while ARM duk_uint64_t values are in standard little endian |
|
|
* endian format while ARM duk_uint64_t values are in standard little endian |
|
|
* format (H G F E D C B A). When a double is read as a duk_uint64_t |
|
|
* format (H G F E D C B A). When a double is read as a duk_uint64_t |
|
|
* from memory, the register will contain the (logical) value |
|
|
* from memory, the register will contain the (logical) value |
|
|
* E F G H A B C D. This requires some special handling below. |
|
|
* E F G H A B C D. This requires some special handling below. |
|
|
|
|
|
* See http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0056d/Bcfhgcgd.html.
|
|
|
* |
|
|
* |
|
|
* Indexes of various types (8-bit, 16-bit, 32-bit) in memory relative to |
|
|
* Indexes of various types (8-bit, 16-bit, 32-bit) in memory relative to |
|
|
* the logical (big endian) order: |
|
|
* the logical (big endian) order: |
|
|