Code:
int_t alup__mul( alup_t _NUM, alup_t _VAL, void *_cpy, void *_tmp )
{
if ( alup_floating( _NUM ) || alup_floating( _VAL ) )
{
int_t ret;
alub_t b;
alup_t _DST, _SRC, _DMAN, _SMAN;
ssize_t dexp, sexp, dbias, sbias, dbits, sbits, bits, size;
bool_t dneg, sneg;
/* Ensure dealing with just floats, impossible for both to take _tmp
* given the above if statment */
if ( alup_floating( _NUM ) )
{
_DST = _NUM;
}
else
{
bits = _NUM.upto - _NUM.from;
size = BITS2SIZE( bits );
alup_init_floating( _DST, _tmp, size );
alup_mov( _DST, _NUM );
}
if ( alup_floating( _VAL ) )
{
_SRC = _VAL;
}
else
{
bits = _VAL.upto - _VAL.from;
size = BITS2SIZE( bits );
alup_init_floating( _SRC, _tmp, size );
alup_mov( _SRC, _VAL );
}
b = alub( _DST.data, _DST.upto - 1 );
dneg = alup_below0( _DST );
sneg = alup_below0( _SRC );
*(b.ptr) &= ~(b.mask);
*(b.ptr) |= IFTRUE( dneg != sneg, b.mask );
dexp = alup_get_exponent( _DST );
sexp = alup_get_exponent( _SRC );
if ( !dexp || !sexp )
{
_NUM.upto--;
alup_set( _NUM, 0 );
return 0;
}
dbias = alup_get_exponent_bias( _DST );
dexp -= dbias;
sbias = alup_get_exponent_bias( _SRC );
sexp -= sbias;
alup_init_mantissa( _DST, _DMAN );
alup_init_mantissa( _SRC, _SMAN );
#if 0
dbits = _DMAN.upto - _DMAN.from;
sbits = _SMAN.upto - _SMAN.from;
bits = LOWEST( dbits, sbits );
_DMAN.from = _DMAN.upto - EITHER( dexp > 0 && dexp < bits, dexp, bits );
_SMAN.from = _SMAN.upto - EITHER( sexp > 0 && sexp < bits, sexp, bits );
#endif
ret = alup__mul_int2int( _DMAN, _SMAN, _cpy );
/* Multiplication prep may have changed this value, ensure is what it
* started as before using it any more */
_DMAN.from = _DST.from;
if ( ret == EOVERFLOW )
{
dexp++;
alup__shr( _DMAN, 1 );
b = alub( _DMAN.data, _DMAN.upto - 1 );
*(b.ptr) |= b.mask;
}
dexp += sexp;
if ( dexp > dbias )
{
alup_t _EXP;
alup_init_exponent( _DST, _EXP );
/* Set infinity */
alup_set( _EXP, 1 );
alup_set( _DMAN, 0 );
if ( alup_floating( _NUM ) )
return 0;
return alup_mov( _NUM, _DST );
}
dexp += dbias;
alup_set_exponent( _DST, dexp );
return 0;
}
return alup__mul_int2int( _NUM, _VAL, _cpy );
}
Output:
Code:
make check.run
...
Running suite(s): ALU
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 3, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0001 10000000000 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0001 10000000000 1000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000000011
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 5, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0002 10000000001 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0002 10000000001 0100000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000000101
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 6, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0002 10000000001 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0002 10000000001 1000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000000110
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 7, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0002 10000000001 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0002 10000000001 1100000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000000111
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 9, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0003 10000000010 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0003 10000000010 0010000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000001001
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 10, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0003 10000000010 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0003 10000000010 0100000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000001010
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 11, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0003 10000000010 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0003 10000000010 0110000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
97%: Checks: 1824, Failures: 46, Errors: 0
../tests/check_alu.c:1421:F:Core:test_alup_mul_floating:3: Assertion 'memcmp( &got_num, &src_num, sizeof(double) ) == 0' failed
...
../tests/check_alu.c:1421:F:Core:test_alup_mul_floating:37: Assertion 'memcmp( &got_num, &src_num, sizeof(double) ) == 0' failed
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000001011
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 12, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0003 10000000010 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0003 10000000010 1000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000001100
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 13, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0003 10000000010 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0003 10000000010 1010000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000001101
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 14, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0003 10000000010 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0003 10000000010 1100000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000001110
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 15, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0003 10000000010 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0003 10000000010 1110000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000001111
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 17, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0004 10000000011 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0004 10000000011 0001000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000010001
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 18, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0004 10000000011 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0004 10000000011 0010000000000000000000000000000000000000000000000000
../tests/check_alu.c:1421:F:Core:test_alup_mul_floating:38: Assertion 'memcmp( &got_num, &src_num, sizeof(double) ) == 0' failed
../tests/check_alu.c:1421:F:Core:test_alup_mul_floating:39: Assertion 'memcmp( &got_num, &src_num, sizeof(double) ) == 0' failed
../tests/check_alu.c:1421:F:Core:test_alup_mul_floating:40: Assertion 'memcmp( &got_num, &src_num, sizeof(double) ) == 0' failed
../tests/check_alu.c:1421:F:Core:test_alup_mul_floating:41: Assertion 'memcmp( &got_num, &src_num, sizeof(double) ) == 0' failed
../tests/check_alu.c:1421:F:Core:test_alup_mul_floating:42: Assertion 'memcmp( &got_num, &src_num, sizeof(double) ) == 0' failed
../tests/check_alu.c:1421:F:Core:test_alup_mul_floating:43: Assertion 'memcmp( &got_num, &src_num, sizeof(double) ) == 0' failed
../tests/check_alu.c:1421:F:Core:test_alup_mul_floating:44: Assertion 'memcmp( &got_num, &src_num, sizeof(double) ) == 0' failed
../tests/check_alu.c:1421:F:Core:test_alup_mul_floating:45: Assertion 'memcmp( &got_num, &src_num, sizeof(double) ) == 0' failed
../tests/check_alu.c:1421:F:Core:test_alup_mul_floating:46: Assertion 'memcmp( &got_num, &src_num, sizeof(double) ) == 0' failed
../tests/check_alu.c:1421:F:Core:test_alup_mul_floating:47: Assertion 'memcmp( &got_num, &src_num, sizeof(double) ) == 0' failed
../tests/check_alu.c:1421:F:Core:test_alup_mul_floating:48: Assertion 'memcmp( &got_num, &src_num, sizeof(double) ) == 0' failed
../tests/check_alu.c:1421:F:Core:test_alup_mul_floating:49: Assertion 'memcmp( &got_num, &src_num, sizeof(double) ) == 0' failed
../tests/check_alu.c:1421:F:Core:test_alup_mul_floating:50: Assertion 'memcmp( &got_num, &src_num, sizeof(double) ) == 0' failed
../tests/check_alu.c:1421:F:Core:test_alup_mul_floating:51: Assertion 'memcmp( &got_num, &src_num, sizeof(double) ) == 0' failed
../tests/check_alu.c:1421:F:Core:test_alup_mul_floating:52: Assertion 'memcmp( &got_num, &src_num, sizeof(double) ) == 0' failed
[Inferior 1 (process 10809) exited with code 01]
(gdb) quit
rm ../src/alu_int_d.o ../src/alup_d.o ../src/alur_d.o ../src/alu_math_d.o ../src/alum_d.o ../tests/check_alu_d.o ../src/alu_main_d.o ../src/alub_d.o ../src/alu_uint_d.o ../src/alu_fpn_d.o ../src/aluv_d.o
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000010010
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 19, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0004 10000000011 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0004 10000000011 0011000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000010011
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 20, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0004 10000000011 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0004 10000000011 0100000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000010100
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 21, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0004 10000000011 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0004 10000000011 0101000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000010101
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 22, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0004 10000000011 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0004 10000000011 0110000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000010110
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 23, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0004 10000000011 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0004 10000000011 0111000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000010111
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 24, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0004 10000000011 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0004 10000000011 1000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000011000
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 25, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0004 10000000011 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0004 10000000011 1001000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000011001
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 26, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0004 10000000011 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0004 10000000011 1010000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000011010
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 27, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0004 10000000011 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0004 10000000011 1011000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000011011
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 28, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0004 10000000011 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0004 10000000011 1100000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000011100
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 29, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0004 10000000011 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0004 10000000011 1101000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000011101
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 30, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0004 10000000011 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0004 10000000011 1110000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000011110
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 31, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0004 10000000011 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0004 10000000011 1111000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000011111
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 33, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0005 10000000100 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0005 10000000100 0000100000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000100001
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 34, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0005 10000000100 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0005 10000000100 0001000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000100010
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 35, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0005 10000000100 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0005 10000000100 0001100000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000100011
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 36, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0005 10000000100 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0005 10000000100 0010000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000100100
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 37, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0005 10000000100 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0005 10000000100 0010100000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000100101
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 38, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0005 10000000100 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0005 10000000100 0011000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000100110
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 39, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0005 10000000100 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0005 10000000100 0011100000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000100111
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 40, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0005 10000000100 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0005 10000000100 0100000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000101000
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 41, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0005 10000000100 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0005 10000000100 0100100000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000101001
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 42, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0005 10000000100 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0005 10000000100 0101000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000101010
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 43, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0005 10000000100 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0005 10000000100 0101100000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000101011
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 44, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0005 10000000100 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0005 10000000100 0110000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000101100
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 45, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0005 10000000100 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0005 10000000100 0110100000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000101101
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 46, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0005 10000000100 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0005 10000000100 0111000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000101110
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 47, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0005 10000000100 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0005 10000000100 0111100000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000101111
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 48, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0005 10000000100 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0005 10000000100 1000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000110000
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 49, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0005 10000000100 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0005 10000000100 1000100000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000110001
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 50, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0005 10000000100 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0005 10000000100 1001000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000110010
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 51, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0005 10000000100 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0005 10000000100 1001100000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000110011
../tests/check_alu.c:1404: test_alup_mul_floating_fn() _num = 52, _val = 1, (_EXP.upto = 63) - (_EXP.from = 52) = 11, (_MAN.upto = 52) - (_MAN.from = 0) = 52
../tests/check_alu.c:1415: test_alup_mul_floating_fn() _GOT_NUM = 0 +0005 10000000100 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1416: test_alup_mul_floating_fn() _SRC_NUM = 0 +0005 10000000100 1010000000000000000000000000000000000000000000000000
../tests/check_alu.c:1417: test_alup_mul_floating_fn() _GOT_VAL = 0 +0000 01111111111 0000000000000000000000000000000000000000000000000000
../tests/check_alu.c:1418: test_alup_mul_floating_fn() _NUM = 0000000000000000000000000000000000000000000000000000000000110100
Compilation finished successfully.
FYI all code is already uploaded.