| 1 | .data |
| 2 | |
| 3 | # On a 64-bit host the two values below will be read into a simple |
| 4 | # 64-bit field in the expressionS structure and the type will be set |
| 5 | # to O_constant. On a 32-bit host however they will read into the |
| 6 | # generic_bignum array and the type set to O_bignum. Either way they |
| 7 | # should both evaluate without errors. |
| 8 | # |
| 9 | # Note - some targets place .hword values on a 16-bit boundary, so we |
| 10 | # declare a second, zero, .byte value in order to make the data |
| 11 | # consistent across all targets. |
| 12 | |
| 13 | .byte 0xffffffffffffff98, 0 |
| 14 | .hword 0xffffffffffff9876 |
| 15 | |
| 16 | # Check that on 64-bit hosts real bignum values also work. |
| 17 | |
| 18 | .byte 0xffffffffffffffffffffffffffffff98, 0 |
| 19 | .hword 0xffffffffffffffffffffffffffff9876 |
| 20 | |
| 21 | # Also check a ridiculously long bignum value. |
| 22 | |
| 23 | .byte 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff98, 0 |