/openbmc/qemu/tests/tcg/hexagon/ |
H A D | misc.c | 313 check32(result, 5); in test_lsbnew() 353 check32(ct0(0x0000000f), 0); in test_count_trailing_zeros_ones() 354 check32(ct0(0x00000000), 32); in test_count_trailing_zeros_ones() 355 check32(ct0(0x000000f0), 4); in test_count_trailing_zeros_ones() 357 check32(ct1(0x000000f0), 0); in test_count_trailing_zeros_ones() 358 check32(ct1(0x0000000f), 4); in test_count_trailing_zeros_ones() 359 check32(ct1(0x00000000), 0); in test_count_trailing_zeros_ones() 360 check32(ct1(0xffffffff), 32); in test_count_trailing_zeros_ones() 362 check32(ct0p(0x000000000000000fULL), 0); in test_count_trailing_zeros_ones() 363 check32(ct0p(0x0000000000000000ULL), 64); in test_count_trailing_zeros_ones() [all …]
|
H A D | preg_alias.c | 92 check32(c5, 0xdeadbeef); in creg_alias_pair() 116 check32(result, old_val); in test_packet() 128 check32(result, 0x0); in test_packet() 137 check32(c4, 0x00ff00ff); in main() 139 check32(c4, 0x000000ff); in main() 141 check32(c4, 0x0000ff00); in main() 143 check32(c4, 0x00ff0000); in main() 145 check32(c4, 0xff000000); in main() 147 check32(c4, 0xffffffff); in main() 150 check32(c4, 0x00ff00ff); in main() [all …]
|
H A D | fpstuff.c | 62 check32(cmp, 0); in check_compare_exception() 71 check32(cmp, 0); in check_compare_exception() 80 check32(cmp, 0); in check_compare_exception() 89 check32(cmp, 0); in check_compare_exception() 98 check32(cmp, 0); in check_compare_exception() 107 check32(cmp, 0); in check_compare_exception() 127 check32(minmax, SF_any); in check_sfminmax() 135 check32(minmax, SF_any); in check_sfminmax() 149 check32(minmax, SF_HEX_NaN); in check_sfminmax() 157 check32(minmax, SF_HEX_NaN); in check_sfminmax() [all …]
|
H A D | read_write_overlap.c | 48 check32(res, 0x123456f0); in test_insert() 50 check32(res, 0x12345678); in test_insert() 52 check32(res, 0x56785678); in test_insert() 69 check32(insert_rp(0x12345678, 8, 1), 0x123456f0); in test_insert_rp() 70 check32(insert_rp(0x12345678, 63, 8), 0x34567878); in test_insert_rp() 71 check32(insert_rp(0x12345678, 127, 8), 0x34567878); in test_insert_rp() 72 check32(insert_rp(0x12345678, 8, 24), 0x78345678); in test_insert_rp() 73 check32(insert_rp(0x12345678, 8, 63), 0x12345678); in test_insert_rp() 74 check32(insert_rp(0x12345678, 8, 64), 0x00000000); in test_insert_rp() 89 check32(asr_r_svw_trun(0x1111111122222222ULL, 5), in test_asr_r_svw_trun() [all …]
|
H A D | multi_result.c | 131 check32(res, 0x59f38001); in test_sfrecipa() 132 check32(pred_result, false); in test_sfrecipa() 141 check32(res, 0x4d330000); in test_sfinvsqrta() 142 check32(pred_result, 0xe0); in test_sfinvsqrta() 145 check32(res, 0x3f800000); in test_sfinvsqrta() 146 check32(pred_result, 0x0); in test_sfinvsqrta() 159 check32(pred_result, 0xf0); in test_vacsh() 160 check32(ovf_result, false); in test_vacsh() 166 check32(pred_result, 0xcc); in test_vacsh() 167 check32(ovf_result, false); in test_vacsh() [all …]
|
H A D | mem_noshuf.c | 209 check32(res32, 0xffffff87); in main() 213 check32(res32, 0x00000087); in main() 217 check32(res32, 0xffffff87); in main() 221 check32(res32, 0x0000ff87); in main() 225 check32(res32, 0xffffff87); in main() 236 check32(res32, 0xffffff87); in main() 240 check32(res32, 0x0000008f); in main() 244 check32(res32, 0xffff8a87); in main() 248 check32(res32, 0x8a87); in main() 252 check32(res32, 0x8a87ffff); in main() [all …]
|
H A D | overflow.c | 109 check32(convres, 0xffffffff); in test_packet() 110 check32(satres, 0x7f); in test_packet() 111 check32(get_usr_overflow(usr), true); in test_packet() 112 check32(get_usr_fp_invalid(usr), true); in test_packet() 128 check32(satres, 0x7f); in test_packet() 129 check32(get_usr_overflow(usr), true); in test_packet() 130 check32(get_usr_lpcfg(usr), 2); in test_packet() 151 check32(usr_overflow, false); in main()
|
H A D | mem_noshuf_exception.c | 61 check32(sig, SIGSEGV); in sig_segv() 93 check32(segv_caught, true); in main() 94 check32(should_not_change, SHOULD_NOT_CHANGE_VAL); in main() 109 check32(ok_to_change, 7); in main() 125 check32(ok_to_change, 9); in main() 126 check32((int)p, (int)NULL); in main()
|
H A D | reg_mut.c | 68 check32(result, 0x3ecfff3f); in write_control_registers() 71 check32(result, 0xffffffc0); in write_control_registers() 74 check32(result, 0x00000000); in write_control_registers() 77 check32(result, 0x00000000); in write_control_registers() 80 check32(result, 0x00000000); in write_control_registers() 83 check32(result, 0x00000000); in write_control_registers()
|
H A D | v73_scalar.c | 37 #define check32(RES, EXP) __check32(__LINE__, RES, EXP) macro 71 check32(my_func_called, true); in test_callrh() 86 check32(res, 1); in test_jumprh()
|
H A D | hex_sigsegv.c | 52 check32(sig, SIGSEGV); in sig_segv() 81 check32(segv_caught, true); in main() 82 check32(should_not_change, SHOULD_NOT_CHANGE_VAL); in main()
|
H A D | usr.c | 430 check32(usr_result, USR_RES); \ 434 TEST_x_OP_x(uint32_t, check32, uint32_t, FUNC, SRC, RES, USR_RES) 437 TEST_x_OP_x(uint32_t, check32, uint64_t, FUNC, SRC, RES, USR_RES) 454 check32(pred_result, PRED_RES); \ 455 check32(usr_result, USR_RES); \ 459 TEST_xp_OP_x(uint32_t, check32, uint32_t, FUNC, SRC, RES, PRED_RES, USR_RES) 470 check32(usr_result, USR_RES); \ 478 TEST_x_OP_xx(uint32_t, check32, uint64_t, uint64_t, \ 486 TEST_x_OP_xx(uint32_t, check32, uint32_t, uint32_t, \ 490 TEST_x_OP_xx(uint32_t, check32, uint64_t, uint32_t, \ [all …]
|
H A D | v68_scalar.c | 40 #define check32(RES, EXP) __check32(__LINE__, RES, EXP) macro 66 check32(res, 1); in test_loadw_aq() 68 check32(res, 2); in test_loadw_aq()
|
H A D | brev.c | 118 check32(result, EXP); \ 130 check32(BUF[i], bitreverse(i)); \ 142 check32(BUF[i], bitreverse(i)); \
|
H A D | dual_stores.c | 51 check32(d.word, 0x123456ff); in main()
|
H A D | atomics.c | 119 check32(tick32, 1); in test_pthread()
|
H A D | hex_test.h | 30 #define check32(RES, EXP) __check32(__LINE__, RES, EXP) macro
|
/openbmc/linux/lib/zstd/decompress/ |
H A D | zstd_decompress.c | 1240 U32 const check32 = MEM_readLE32(src); in ZSTD_decompressContinue() local 1241 …TD_decompressContinue: checksum : calculated %08X :: %08X read", (unsigned)h32, (unsigned)check32); in ZSTD_decompressContinue() 1242 RETURN_ERROR_IF(check32 != h32, checksum_wrong, ""); in ZSTD_decompressContinue()
|