| 2530 | } |
| 2531 | |
| 2532 | void testFISTTP64() { |
| 2533 | doFISTTP64(0); |
| 2534 | doFISTTP64(0x123456789abcdef0l); |
| 2535 | doFISTTP64(0x723456789abcdef0l); |
| 2536 | doFISTTP64(0x0000000800000000l); // gog installer uses this and it exposed a bug where only the bottom 32-bits where checked for a 0 case |
| 2537 | doFISTTP64((U64)(S64)-2); |
| 2538 | |
| 2539 | if (cpu->isBig()) { |
| 2540 | doFISTTP64(123456789.4, 123456789); |
| 2541 | doFISTTP64(123456789.6, 123456789); |
| 2542 | doFISTTP64(-123456789.4, -123456789); |
| 2543 | } |
| 2544 | } |
| 2545 | |
| 2546 | void doFISTP64(U64 data) { |
| 2547 |
no test coverage detected