tests/fpu: Add tests for fdiv and fre with denormalized operands

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
pull/425/head
Paul Mackerras 3 months ago
parent 51954671f3
commit 7b86bf8863

@ -1210,6 +1210,10 @@ struct divvals {
{ 0xbff0000000000000, 0x3ff0000000000000, 0xbff0000000000000 },
{ 0x4000000000000000, 0x4008000000000000, 0x3fe5555555555555 },
{ 0xc01fff0007ffffff, 0xc03ffffffdffffbf, 0x3fcfff0009fff041 },
{ 0x0010000000000000, 0x0018000000000000, 0x3fe5555555555555 },
{ 0x0008000000000000, 0x0018000000000000, 0x3fd5555555555555 },
{ 0x0010000000000000, 0x0000c00000000000, 0x4035555555555555 },
{ 0x0004000000000000, 0x0000300000000000, 0x4035555555555555 },
};

int test17(long arg)
@ -1251,6 +1255,9 @@ struct recipvals {
{ 0xbff0000000000000, 0xbfeff00400000000 },
{ 0x4008000000000000, 0x3fd54e3800000000 },
{ 0xc03ffffffdffffbf, 0xbfa0040000000000 },
{ 0x0008100000000000, 0x7fdfb0c400000000 },
{ 0x0004080000000000, 0x7fefb0c400000000 },
{ 0x0002040000000000, 0x7ff0000000000000 },
};

int test18(long arg)

Binary file not shown.
Loading…
Cancel
Save