xls icon indicating copy to clipboard operation
xls copied to clipboard

interpreter_main comparison fails against JIT

Open proppy opened this issue 1 year ago • 0 comments

When running interpreter_main with --alsologtostderr and --compare=jit (the default), it seems that it fails to find test function to validate against the JIT:

🍊  interpreter_main --compare=jit --alsologtostderr xls/dslx/stdlib/std.x
...
[ RUN UNITTEST  ] sizeof_signed_test
W0307 01:52:02.426088 2225218 run_comparator.cc:80] Could not find __std__sizeof_signed_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] sizeof_unsigned_test
W0307 01:52:02.426270 2225218 run_comparator.cc:80] Could not find __std__sizeof_unsigned_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] use_sizeof_test
W0307 01:52:02.426405 2225218 run_comparator.cc:80] Could not find __std__use_sizeof_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] signed_max_value_test
W0307 01:52:02.426647 2225218 run_comparator.cc:80] Could not find __std__signed_max_value_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] signed_min_value_test
W0307 01:52:02.426854 2225218 run_comparator.cc:80] Could not find __std__signed_min_value_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] unsigned_min_value_test
W0307 01:52:02.426976 2225218 run_comparator.cc:80] Could not find __std__unsigned_min_value_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] unsigned_max_value_test
W0307 01:52:02.427272 2225218 run_comparator.cc:80] Could not find __std__unsigned_max_value_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] smax_test
W0307 01:52:02.427531 2225218 run_comparator.cc:80] Could not find __std__smax_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] umax_test
W0307 01:52:02.427705 2225218 run_comparator.cc:80] Could not find __std__umax_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] smin_test
W0307 01:52:02.428567 2225218 run_comparator.cc:80] Could not find __std__smin_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] umin_test
W0307 01:52:02.428924 2225218 run_comparator.cc:80] Could not find __std__umin_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] uadd_test
W0307 01:52:02.429151 2225218 run_comparator.cc:80] Could not find __std__uadd_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] sadd_test
W0307 01:52:02.429444 2225218 run_comparator.cc:80] Could not find __std__sadd_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] umul_test
W0307 01:52:02.429730 2225218 run_comparator.cc:80] Could not find __std__umul_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] smul_test
W0307 01:52:02.429937 2225218 run_comparator.cc:80] Could not find __std__smul_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] iterative_div_test
W0307 01:52:02.436652 2225218 run_comparator.cc:80] Could not find __std__iterative_div_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] lsb_test
W0307 01:52:02.437574 2225218 run_comparator.cc:80] Could not find __std__lsb_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] convert_to_bits_msb0_test
W0307 01:52:02.438432 2225218 run_comparator.cc:80] Could not find __std__convert_to_bits_msb0_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] convert_to_bools_lsb0_test
W0307 01:52:02.439422 2225218 run_comparator.cc:80] Could not find __std__convert_to_bools_lsb0_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] find_index_test
W0307 01:52:02.440271 2225218 run_comparator.cc:80] Could not find __std__find_index_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] concat3_test
W0307 01:52:02.440465 2225218 run_comparator.cc:80] Could not find __std__concat3_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] ceil_div_test
W0307 01:52:02.441448 2225218 run_comparator.cc:80] Could not find __std__ceil_div_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] round_up_to_nearest_test
W0307 01:52:02.470428 2225218 run_comparator.cc:80] Could not find __std__round_up_to_nearest_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] rrot_test
W0307 01:52:02.470767 2225218 run_comparator.cc:80] Could not find __std__rrot_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] flog2_test
W0307 01:52:02.471619 2225218 run_comparator.cc:80] Could not find __std__flog2_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] clog2_test
W0307 01:52:02.472283 2225218 run_comparator.cc:80] Could not find __std__clog2_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] is_pow2_test
W0307 01:52:02.473123 2225218 run_comparator.cc:80] Could not find __std__is_pow2_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] mod_pow2_test
W0307 01:52:02.473400 2225218 run_comparator.cc:80] Could not find __std__mod_pow2_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] div_pow2_test
W0307 01:52:02.473695 2225218 run_comparator.cc:80] Could not find __std__div_pow2_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] mask_bits_test
W0307 01:52:02.473846 2225218 run_comparator.cc:80] Could not find __std__mask_bits_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] test_scmps
W0307 01:52:02.474178 2225218 run_comparator.cc:80] Could not find __std__test_scmps function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] test_upow
W0307 01:52:02.476032 2225218 run_comparator.cc:80] Could not find __std__test_upow function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] test_spow
W0307 01:52:02.477925 2225218 run_comparator.cc:80] Could not find __std__test_spow function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] test_popcount
W0307 01:52:02.479101 2225218 run_comparator.cc:80] Could not find __std__test_popcount function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] test_to_signed
W0307 01:52:02.479380 2225218 run_comparator.cc:80] Could not find __std__test_to_signed function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] test_to_unsigned
W0307 01:52:02.479602 2225218 run_comparator.cc:80] Could not find __std__test_to_unsigned function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] test_uadd_with_overflow
W0307 01:52:02.480563 2225218 run_comparator.cc:80] Could not find __std__test_uadd_with_overflow function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] test_extract_bits
W0307 01:52:02.496640 2225218 run_comparator.cc:80] Could not find __std__test_extract_bits function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] test_umul_with_overflow
W0307 01:52:02.629870 2225218 run_comparator.cc:80] Could not find __std__test_umul_with_overflow function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] is_unsigned_msb_set_test
W0307 01:52:02.632680 2225218 run_comparator.cc:80] Could not find __std__is_unsigned_msb_set_test function for JIT comparison
[            OK ]
[ RUN UNITTEST  ] test_vslice
W0307 01:52:02.633061 2225218 run_comparator.cc:80] Could not find __std__test_vslice function for JIT comparison
[            OK ]
[===============] 41 test(s) ran; 0 failed; 0 skipped.
[ SEED 3804625047688196 ]
[ RUN QUICKCHECK        ] convert_to_from_bools count: 1000
[                    OK ] convert_to_from_bools
[=======================] 1 quickcheck(s) ran.

proppy avatar Mar 07 '24 01:03 proppy