| /openbmc/entity-manager/test/entity_manager/ |
| H A D | test_entity-manager.cpp | 15 nlohmann::json j = {{"foo", "$bus"}}; in TEST() local 19 em_utils::templateCharReplace(j, data, 0); in TEST() 22 EXPECT_EQ(expected, j["foo"]); in TEST() 27 nlohmann::json j = {{"foo", "$TEST"}}; in TEST() local 31 em_utils::templateCharReplace(j, data, 0); in TEST() 34 EXPECT_EQ(expected, j["foo"]); in TEST() 39 nlohmann::json j = {{"foo", "the $TEST"}}; in TEST() local 43 em_utils::templateCharReplace(j, data, 0); in TEST() 46 EXPECT_EQ(expected, j["foo"]); in TEST() 51 nlohmann::json j in TEST() local 63 nlohmann::json j = {{"foo", "the Test $TEST"}}; TEST() local 75 nlohmann::json j = {{"foo", "3 plus 1 equals $TEST + 1"}}; TEST() local 87 nlohmann::json j = {{"foo", "3 minus 1 equals $TEST - 1 !"}}; TEST() local 99 nlohmann::json j = {{"foo", "3 mod 2 equals $TEST % 2"}}; TEST() local 111 nlohmann::json j = {{"foo", "3 * 2 equals $TEST * 2"}}; TEST() local 123 nlohmann::json j = {{"foo", "4 / 2 equals $TEST / 2"}}; TEST() local 135 nlohmann::json j = {{"foo", "4 * 2 % 6 equals $TEST * 2 % 6"}}; TEST() local 147 nlohmann::json j = {{"foo", "$FOO $BAR"}}; TEST() local 160 nlohmann::json j = {{"foo", "4 / 2 equals $TEST / 2 $BAR"}}; TEST() local 172 nlohmann::json j = {{"foo", "4 / 2 equals $ADDRESS / 2 $BAR"}}; TEST() local 185 nlohmann::json j = {{"Address", "0x54"}, TEST() local 206 nlohmann::json j = {{"foo", "twelve is $TEST"}}; TEST() local 218 nlohmann::json j = {{"foo", "0x54"}}; TEST() local 229 nlohmann::json j = {{"foo", "$EXISTENT_VAR and $NON_EXISTENT_VAR"}}; TEST() local 245 nlohmann::json j = {{"foo", "the Test $TEST is $TESTED"}}; TEST() local 255 nlohmann::json j = R"("foo")"_json; TEST() local 262 nlohmann::json j = R"("foo*")"_json; TEST() local 269 nlohmann::json j = R"("foobar")"_json; TEST() local 276 nlohmann::json j = R"("foo[")"_json; TEST() local 283 nlohmann::json j = R"("foo(?!bar)...foo")"_json; TEST() local 292 nlohmann::json j = R"("0")"_json; TEST() local 299 nlohmann::json j = R"("1")"_json; TEST() local 306 nlohmann::json j = R"("11")"_json; TEST() local 313 nlohmann::json j = R"("false")"_json; TEST() local 320 nlohmann::json j = R"("true")"_json; TEST() local 327 nlohmann::json j = R"("false")"_json; TEST() local 334 nlohmann::json j = R"("255")"_json; TEST() local 341 nlohmann::json j = R"("65535")"_json; TEST() local 348 nlohmann::json j = R"("false")"_json; TEST() local 355 nlohmann::json j = R"("true")"_json; TEST() local 362 nlohmann::json j = R"("11")"_json; TEST() local 369 nlohmann::json j = R"("-11")"_json; TEST() local 376 nlohmann::json j = R"("1*4")"_json; TEST() local 383 nlohmann::json j = R"("foo")"_json; TEST() local 390 nlohmann::json j = R"("123.4")"_json; TEST() local 397 nlohmann::json j = R"("-123.4")"_json; TEST() local 404 nlohmann::json j = R"("-123.4")"_json; TEST() local 411 nlohmann::json j = R"(false)"_json; TEST() local 418 nlohmann::json j = R"(true)"_json; TEST() local 425 nlohmann::json j = R"(false)"_json; TEST() local 432 nlohmann::json j = R"(true)"_json; TEST() local 439 nlohmann::json j = R"(true)"_json; TEST() local 446 nlohmann::json j = R"(true)"_json; TEST() local 453 nlohmann::json j = R"(false)"_json; TEST() local 460 nlohmann::json j = R"(false)"_json; TEST() local 467 nlohmann::json j = R"(true)"_json; TEST() local 474 nlohmann::json j = R"(true)"_json; TEST() local 481 nlohmann::json j = R"(false)"_json; TEST() local 488 nlohmann::json j = R"(false)"_json; TEST() local 495 nlohmann::json j = R"(false)"_json; TEST() local 502 nlohmann::json j = R"(true)"_json; TEST() local 509 nlohmann::json j = R"(true)"_json; TEST() local 516 nlohmann::json j = R"(11)"_json; TEST() local 523 nlohmann::json j = R"(1)"_json; TEST() local 530 nlohmann::json j = R"(0)"_json; TEST() local 537 nlohmann::json j = R"(11)"_json; TEST() local 544 nlohmann::json j = R"(11)"_json; TEST() local 551 nlohmann::json j = R"(65535)"_json; TEST() local 558 nlohmann::json j = R"(11)"_json; TEST() local 565 nlohmann::json j = R"(11)"_json; TEST() local 572 nlohmann::json j = R"(11)"_json; TEST() local 579 nlohmann::json j = R"(11)"_json; TEST() local 586 nlohmann::json j = R"(11)"_json; TEST() local 593 nlohmann::json j = R"(-11)"_json; TEST() local 600 nlohmann::json j = R"(-1)"_json; TEST() local 607 nlohmann::json j = R"(-11)"_json; TEST() local 614 nlohmann::json j = R"(-11)"_json; TEST() local 621 nlohmann::json j = R"(-124)"_json; TEST() local 628 nlohmann::json j = R"(-11)"_json; TEST() local 635 nlohmann::json j = R"(-11)"_json; TEST() local 642 nlohmann::json j = R"(-11)"_json; TEST() local 649 nlohmann::json j = R"(-11)"_json; TEST() local 656 nlohmann::json j = R"(0.0)"_json; TEST() local 663 nlohmann::json j = R"(0.0)"_json; TEST() local 670 nlohmann::json j = R"(1.0)"_json; TEST() local 677 nlohmann::json j = R"(-124.0)"_json; TEST() local 684 nlohmann::json j = R"(-124.0)"_json; TEST() local 691 nlohmann::json j = R"(124.7)"_json; TEST() local 697 nlohmann::json j = R"(-124.2)"_json; TEST() local 704 nlohmann::json j = R"(-124.3)"_json; TEST() local 711 nlohmann::json j = R"(-11.0)"_json; TEST() local 718 nlohmann::json j = R"(-11.2)"_json; TEST() local 725 nlohmann::json j = R"([1, 2])"_json; TEST() local 732 nlohmann::json j = R"([1, 2])"_json; TEST() local 739 nlohmann::json j = R"([1, 2])"_json; TEST() local 746 nlohmann::json j = R"([1, 2])"_json; TEST() local 753 nlohmann::json j = R"([1, 2])"_json; TEST() local 760 nlohmann::json j = R"([1, 2])"_json; TEST() local 767 nlohmann::json j = R"([1, 2])"_json; TEST() local 774 nlohmann::json j = R"([1, 2, 3])"_json; TEST() local 781 nlohmann::json j = R"([1, 2])"_json; TEST() local 788 nlohmann::json j = R"([])"_json; TEST() local 795 nlohmann::json j = R"([])"_json; TEST() local 802 nlohmann::json j = R"([1])"_json; TEST() local 809 nlohmann::json j = R"({"foo": "bar"})"_json; TEST() local 816 nlohmann::json j = R"({"foo": "bar"})"_json; TEST() local 823 nlohmann::json j = R"({"foo": "bar"})"_json; TEST() local 830 nlohmann::json j = R"({"foo": "bar"})"_json; TEST() local 837 nlohmann::json j = R"({"foo": "bar"})"_json; TEST() local 844 nlohmann::json j = R"({"foo": "bar"})"_json; TEST() local 851 nlohmann::json j = R"({"foo": "bar"})"_json; TEST() local 858 nlohmann::json j = R"(null)"_json; TEST() local 865 nlohmann::json j = R"(null)"_json; TEST() local 872 nlohmann::json j = R"(null)"_json; TEST() local 879 nlohmann::json j = R"(null)"_json; TEST() local 886 nlohmann::json j = R"(null)"_json; TEST() local 893 nlohmann::json j = R"(null)"_json; TEST() local 900 nlohmann::json j = R"(null)"_json; TEST() local [all...] |
| /openbmc/qemu/tests/tcg/hexagon/ |
| H A D | v69_hvx.c | 62 for (int j = 0; j < MAX_VEC_SIZE_BYTES / 2; j++) { in test_vasrvuhubrndsat() local 67 shamt = buffer1[i].ub[2 * j + 0] & 0x7; in test_vasrvuhubrndsat() 68 byte0 = fVSATUB(fVROUND(buffer0[2 * i + 0].uh[j], shamt) >> shamt); in test_vasrvuhubrndsat() 69 shamt = buffer1[i].ub[2 * j + 1] & 0x7; in test_vasrvuhubrndsat() 70 byte1 = fVSATUB(fVROUND(buffer0[2 * i + 1].uh[j], shamt) >> shamt); in test_vasrvuhubrndsat() 71 expect[i].uh[j] = (byte1 << 8) | (byte0 & 0xff); in test_vasrvuhubrndsat() 99 for (int j = 0; j < MAX_VEC_SIZE_BYTES / 2; j++) { in test_vasrvuhubsat() local 104 shamt = buffer1[i].ub[2 * j + 0] & 0x7; in test_vasrvuhubsat() 105 byte0 = fVSATUB(buffer0[2 * i + 0].uh[j] >> shamt); in test_vasrvuhubsat() 106 shamt = buffer1[i].ub[2 * j + 1] & 0x7; in test_vasrvuhubsat() [all …]
|
| /openbmc/phosphor-pid-control/sensors/ |
| H A D | buildjson.cpp | 20 void from_json(const json& j, conf::SensorConfig& s) in from_json() argument 22 j.at("type").get_to(s.type); in from_json() 23 j.at("readPath").get_to(s.readPath); in from_json() 26 auto writePath = j.find("writePath"); in from_json() 27 if (writePath == j.end()) in from_json() 33 j.at("writePath").get_to(s.writePath); in from_json() 45 auto ignore = j.find("ignoreDbusMinMax"); in from_json() 46 if (ignore != j.end()) in from_json() 48 j.at("ignoreDbusMinMax").get_to(s.ignoreDbusMinMax); in from_json() 51 auto findunAsF = j.find("unavailableAsFailed"); in from_json() [all …]
|
| /openbmc/u-boot/drivers/dma/ |
| H A D | keystone_nav.c | 39 int j, num; in num_of_desc_to_reg() local 41 for (j = 0, num = 32; j < 15; j++, num *= 2) { in num_of_desc_to_reg() 43 return j; in num_of_desc_to_reg() 51 u32 j; in _qm_init() local 68 for (j = 0; j < HDESC_NUM; j++) in _qm_init() 69 qm_push(&desc_pool[j], qm_cfg->qpool_num); in _qm_init() 81 u32 j; in qm_close() local 91 for (j = 0; j < qm_cfg->region_num; j++) { in qm_close() 92 qm_cfg->desc_mem[j].base_addr = 0; in qm_close() 93 qm_cfg->desc_mem[j].start_idx = 0; in qm_close() [all …]
|
| /openbmc/qemu/tests/tcg/mips/user/ase/msa/int-dot-product/ |
| H A D | test_msa_dpadd_u_w.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_DPADD_U_W(b128_pattern[i], b128_pattern[j], in main() 167 b128_result[PATTERN_INPUTS_SHORT_COUNT * i + j]); in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_DPADD_U_W(b128_random[i], b128_random[j], in main() 176 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_DPADD_U_W__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() [all …]
|
| H A D | test_msa_dpsub_u_d.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_DPSUB_U_D(b128_pattern[i], b128_pattern[j], in main() 167 b128_result[PATTERN_INPUTS_SHORT_COUNT * i + j]); in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_DPSUB_U_D(b128_random[i], b128_random[j], in main() 176 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_DPSUB_U_D__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() [all …]
|
| H A D | test_msa_dpadd_u_d.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_DPADD_U_D(b128_pattern[i], b128_pattern[j], in main() 167 b128_result[PATTERN_INPUTS_SHORT_COUNT * i + j]); in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_DPADD_U_D(b128_random[i], b128_random[j], in main() 176 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_DPADD_U_D__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() [all …]
|
| H A D | test_msa_dpadd_u_h.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_DPADD_U_H(b128_pattern[i], b128_pattern[j], in main() 167 b128_result[PATTERN_INPUTS_SHORT_COUNT * i + j]); in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_DPADD_U_H(b128_random[i], b128_random[j], in main() 176 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_DPADD_U_H__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() [all …]
|
| /openbmc/qemu/tests/tcg/mips/user/ase/msa/fixed-multiply/ |
| H A D | test_msa_msub_q_h.c | 42 uint32_t i, j; in main() local 167 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 168 do_msa_MSUB_Q_H(b128_pattern[i], b128_pattern[j], in main() 169 b128_result[PATTERN_INPUTS_SHORT_COUNT * i + j]); in main() 174 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 175 do_msa_MSUB_Q_H(b128_random[i], b128_random[j], in main() 178 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 183 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 184 do_msa_MSUB_Q_H__DDT(b128_random[i], b128_random[j], in main() 190 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() [all …]
|
| H A D | test_msa_msubr_q_w.c | 42 uint32_t i, j; in main() local 167 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 168 do_msa_MADDR_Q_W(b128_pattern[i], b128_pattern[j], in main() 169 b128_result[PATTERN_INPUTS_SHORT_COUNT * i + j]); in main() 174 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 175 do_msa_MADDR_Q_W(b128_random[i], b128_random[j], in main() 178 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 183 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 184 do_msa_MADDR_Q_W__DDT(b128_random[i], b128_random[j], in main() 190 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() [all …]
|
| H A D | test_msa_madd_q_h.c | 42 uint32_t i, j; in main() local 167 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 168 do_msa_MADD_Q_H(b128_pattern[i], b128_pattern[j], in main() 169 b128_result[PATTERN_INPUTS_SHORT_COUNT * i + j]); in main() 174 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 175 do_msa_MADD_Q_H(b128_random[i], b128_random[j], in main() 178 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 183 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 184 do_msa_MADD_Q_H__DDT(b128_random[i], b128_random[j], in main() 190 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() [all …]
|
| H A D | test_msa_msub_q_w.c | 42 uint32_t i, j; in main() local 167 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 168 do_msa_MSUB_Q_W(b128_pattern[i], b128_pattern[j], in main() 169 b128_result[PATTERN_INPUTS_SHORT_COUNT * i + j]); in main() 174 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 175 do_msa_MSUB_Q_W(b128_random[i], b128_random[j], in main() 178 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 183 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 184 do_msa_MSUB_Q_W__DDT(b128_random[i], b128_random[j], in main() 190 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() [all …]
|
| /openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-move/ |
| H A D | test_msa_binsr_w.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_BINSR_W(b128_pattern[i], b128_pattern[j], in main() 167 b128_result[PATTERN_INPUTS_SHORT_COUNT * i + j]); in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_BINSR_W(b128_random[i], b128_random[j], in main() 176 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_BINSR_W__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() [all …]
|
| H A D | test_msa_binsl_d.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_BINSL_D(b128_pattern[i], b128_pattern[j], in main() 167 b128_result[PATTERN_INPUTS_SHORT_COUNT * i + j]); in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_BINSL_D(b128_random[i], b128_random[j], in main() 176 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_BINSL_D__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() [all …]
|
| H A D | test_msa_bmz_v.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_BMZ_V(b128_pattern[i], b128_pattern[j], in main() 167 b128_result[PATTERN_INPUTS_SHORT_COUNT * i + j]); in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_BMZ_V(b128_random[i], b128_random[j], in main() 176 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_BMZ_V__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() [all …]
|
| H A D | test_msa_binsl_b.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_BINSL_B(b128_pattern[i], b128_pattern[j], in main() 167 b128_result[PATTERN_INPUTS_SHORT_COUNT * i + j]); in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_BINSL_B(b128_random[i], b128_random[j], in main() 176 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_BINSL_B__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() [all …]
|
| /openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/ |
| H A D | test_msa_vshf_d.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_VSHF_D(b128_pattern[i], b128_pattern[j], in main() 167 b128_result[PATTERN_INPUTS_SHORT_COUNT * i + j]); in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_VSHF_D(b128_random[i], b128_random[j], in main() 176 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_VSHF_D__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() [all …]
|
| H A D | test_msa_pckev_w.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_PCKEV_W(b128_pattern[i], b128_pattern[j], in main() 167 b128_result[PATTERN_INPUTS_SHORT_COUNT * i + j]); in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_PCKEV_W(b128_random[i], b128_random[j], in main() 176 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_PCKEV_W__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() [all …]
|
| H A D | test_msa_pckev_d.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_PCKEV_D(b128_pattern[i], b128_pattern[j], in main() 167 b128_result[PATTERN_INPUTS_SHORT_COUNT * i + j]); in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_PCKEV_D(b128_random[i], b128_random[j], in main() 176 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_PCKEV_D__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() [all …]
|
| H A D | test_msa_vshf_b.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_VSHF_B(b128_pattern[i], b128_pattern[j], in main() 167 b128_result[PATTERN_INPUTS_SHORT_COUNT * i + j]); in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_VSHF_B(b128_random[i], b128_random[j], in main() 176 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_VSHF_B__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() [all …]
|
| H A D | test_msa_vshf_w.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_VSHF_W(b128_pattern[i], b128_pattern[j], in main() 167 b128_result[PATTERN_INPUTS_SHORT_COUNT * i + j]); in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_VSHF_W(b128_random[i], b128_random[j], in main() 176 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_VSHF_W__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() [all …]
|
| H A D | test_msa_pckod_d.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_PCKOD_D(b128_pattern[i], b128_pattern[j], in main() 167 b128_result[PATTERN_INPUTS_SHORT_COUNT * i + j]); in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_PCKOD_D(b128_random[i], b128_random[j], in main() 176 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_PCKOD_D__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() [all …]
|
| H A D | test_msa_pckod_w.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_PCKOD_W(b128_pattern[i], b128_pattern[j], in main() 167 b128_result[PATTERN_INPUTS_SHORT_COUNT * i + j]); in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_PCKOD_W(b128_random[i], b128_random[j], in main() 176 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_PCKOD_W__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() [all …]
|
| H A D | test_msa_pckod_h.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_PCKOD_H(b128_pattern[i], b128_pattern[j], in main() 167 b128_result[PATTERN_INPUTS_SHORT_COUNT * i + j]); in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_PCKOD_H(b128_random[i], b128_random[j], in main() 176 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_PCKOD_H__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() [all …]
|
| /openbmc/qemu/tests/tcg/mips/user/ase/msa/int-multiply/ |
| H A D | test_msa_msubv_b.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_MSUBV_B(b128_pattern[i], b128_pattern[j], in main() 167 b128_result[PATTERN_INPUTS_SHORT_COUNT * i + j]); in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_MSUBV_B(b128_random[i], b128_random[j], in main() 176 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_MSUBV_B__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() [all …]
|