/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/ |
reg_access_test.c | 26 FAIL_IF(val != expected); 32 FAIL_IF(val != expected);
|
no_handler_test.c | 31 FAIL_IF(event_open(&event)); 32 FAIL_IF(ebb_event_enable(&event)); 35 FAIL_IF(val != 0); 49 FAIL_IF(val != 0x0000000080000080);
|
pmc56_overflow_test.c | 62 FAIL_IF(event_open(&event)); 67 FAIL_IF(ebb_event_enable(&event)); 74 FAIL_IF(core_busy_loop()); 87 FAIL_IF(ebb_state.stats.ebb_count == 0 || pmc56_overflowed != 0);
|
cycles_with_mmcr2_test.c | 38 FAIL_IF(event_open(&event)); 44 FAIL_IF(ebb_event_enable(&event)); 60 FAIL_IF(core_busy_loop()); 80 FAIL_IF(ebb_state.stats.ebb_count == 0); 85 FAIL_IF(bad_mmcr2);
|
pmae_handling_test.c | 70 FAIL_IF(event_open(&event)); 75 FAIL_IF(ebb_event_enable(&event)); 80 FAIL_IF(core_busy_loop()); 94 FAIL_IF(ebb_state.stats.ebb_count == 0); 95 FAIL_IF(mmcr0_mismatch);
|
instruction_count_test.c | 122 FAIL_IF(event_open(&event)); 123 FAIL_IF(ebb_event_enable(&event)); 135 FAIL_IF(do_count_loop(&event, 0x100000, overhead, true)); 138 FAIL_IF(do_count_loop(&event, 0xa00000, overhead, true)); 141 FAIL_IF(do_count_loop(&event, 0x6400000, overhead, true)); 144 FAIL_IF(do_count_loop(&event, 0x40000000, overhead, true)); 147 FAIL_IF(do_count_loop(&event, 0x400000000, overhead, true)); 150 FAIL_IF(do_count_loop(&event, 0x1000000000, overhead, true)); 153 FAIL_IF(do_count_loop(&event, 0x2000000000, overhead, true));
|
back_to_back_ebbs_test.c | 75 FAIL_IF(event_open(&event)); 79 FAIL_IF(ebb_event_enable(&event)); 89 FAIL_IF(core_busy_loop()); 100 FAIL_IF(ebb_state.stats.ebb_count != NUMBER_OF_EBBS);
|
cycles_with_freeze_test.c | 68 FAIL_IF(event_open(&event)); 72 FAIL_IF(ebb_event_enable(&event)); 86 FAIL_IF(core_busy_loop()); 110 FAIL_IF(ebb_state.stats.ebb_count == 0); 111 FAIL_IF(fc_cleared);
|
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/ |
ptrace-gpr.c | 64 FAIL_IF(start_trace(child)); 65 FAIL_IF(show_gpr(child, gpr)); 66 FAIL_IF(validate_gpr(gpr, GPR_1)); 67 FAIL_IF(show_fpr(child, fpr)); 68 FAIL_IF(validate_fpr(fpr, FPR_1_REP)); 69 FAIL_IF(write_gpr(child, GPR_3)); 70 FAIL_IF(write_fpr(child, FPR_3_REP)); 71 FAIL_IF(stop_trace(child));
|
ptrace-vsx.c | 46 FAIL_IF(start_trace(child)); 47 FAIL_IF(show_vsx(child, vsx)); 48 FAIL_IF(validate_vsx(vsx, fp_load)); 49 FAIL_IF(show_vmx(child, vmx)); 50 FAIL_IF(validate_vmx(vmx, fp_load)); 56 FAIL_IF(write_vsx(child, vsx)); 57 FAIL_IF(write_vmx(child, vmx)); 58 FAIL_IF(stop_trace(child));
|
ptrace-tar.c | 59 FAIL_IF(start_trace(child)); 60 FAIL_IF(show_tar_registers(child, reg)); 64 FAIL_IF(validate_tar_registers(reg, TAR_1, PPR_1, DSCR_1)); 65 FAIL_IF(stop_trace(child)); 71 FAIL_IF(start_trace(child)); 72 FAIL_IF(write_tar_registers(child, TAR_2, PPR_2, DSCR_2)); 76 FAIL_IF(stop_trace(child));
|
ptrace-tm-spd-tar.c | 109 FAIL_IF(start_trace(child)); 110 FAIL_IF(show_tar_registers(child, regs)); 114 FAIL_IF(validate_tar_registers(regs, TAR_3, PPR_3, DSCR_3)); 115 FAIL_IF(show_tm_checkpointed_state(child, regs)); 119 FAIL_IF(validate_tar_registers(regs, TAR_1, PPR_1, DSCR_1)); 120 FAIL_IF(write_ckpt_tar_registers(child, TAR_4, PPR_4, DSCR_4)); 126 FAIL_IF(stop_trace(child));
|
ptrace-tm-tar.c | 98 FAIL_IF(start_trace(child)); 99 FAIL_IF(show_tar_registers(child, regs)); 103 FAIL_IF(validate_tar_registers(regs, TAR_2, PPR_2, DSCR_2)); 104 FAIL_IF(show_tm_checkpointed_state(child, regs)); 108 FAIL_IF(validate_tar_registers(regs, TAR_1, PPR_1, DSCR_1)); 109 FAIL_IF(write_ckpt_tar_registers(child, TAR_4, PPR_4, DSCR_4)); 114 FAIL_IF(stop_trace(child));
|
/external/pcre/dist2/src/sljit/ |
sljitNativeTILEGX_64.c | 333 FAIL_IF(!ptr); 344 FAIL_IF(!ptr); 355 FAIL_IF(!ptr); 739 FAIL_IF(update_buffer(compiler)); 747 FAIL_IF(update_buffer(compiler)); 767 FAIL_IF(update_buffer(compiler)); 828 FAIL_IF(update_buffer(compiler)); 873 FAIL_IF(update_buffer(compiler)); 889 FAIL_IF(update_buffer(compiler)); [all...] |
sljitNativePPC_64.c | 58 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | IMM(imm >> 16))); 70 FAIL_IF(push_inst(compiler, ADDI | D(reg) | A(0) | IMM(tmp >> 48))); 76 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | IMM(tmp >> 48))); 77 FAIL_IF(push_inst(compiler, ORI | S(reg) | A(reg) | IMM(tmp >> 32))); 87 FAIL_IF(push_inst(compiler, ADDI | D(reg) | A(0) | IMM(tmp >> 48))); 88 FAIL_IF(PUSH_RLDICR(reg, shift)); 93 FAIL_IF(push_inst(compiler, ADDI | D(reg) | A(0) | IMM(tmp >> 48))); 94 FAIL_IF(PUSH_RLDICR(reg, shift)); 95 FAIL_IF(push_inst(compiler, ORIS | S(reg) | A(reg) | (tmp2 >> 16))); 103 FAIL_IF(push_inst(compiler, ADDI | D(reg) | A(0) | IMM(tmp >> 48))) [all...] |
sljitNativeSPARC_32.c | 32 FAIL_IF(push_inst(compiler, SETHI | D(dst) | ((imm >> 10) & 0x3fffff), DR(dst))); 59 FAIL_IF(push_inst(compiler, SLL | D(dst) | S1(src2) | IMM(24), DR(dst))); 70 FAIL_IF(push_inst(compiler, SLL | D(dst) | S1(src2) | IMM(16), DR(dst))); 84 FAIL_IF(push_inst(compiler, SUB | SET_FLAGS | D(0) | S1(src2) | S2(0), SET_FLAGS)); 85 FAIL_IF(push_inst(compiler, OR | D(TMP_REG1) | S1(0) | S2(src2), DR(TMP_REG1))); 86 FAIL_IF(push_inst(compiler, BICC | DA(0x1) | (7 & DISP_MASK), UNMOVABLE_INS)); 87 FAIL_IF(push_inst(compiler, OR | (flags & SET_FLAGS) | D(dst) | S1(0) | IMM(32), UNMOVABLE_INS | (flags & SET_FLAGS))); 88 FAIL_IF(push_inst(compiler, OR | D(dst) | S1(0) | IMM(-1), DR(dst))); 91 FAIL_IF(push_inst(compiler, SUB | SET_FLAGS | D(0) | S1(TMP_REG1) | S2(0), SET_FLAGS)); 92 FAIL_IF(push_inst(compiler, SLL | D(TMP_REG1) | S1(TMP_REG1) | IMM(1), DR(TMP_REG1))) [all...] |
sljitNativeMIPS_common.c | 209 FAIL_IF(!ptr); 562 FAIL_IF(push_inst(compiler, ADDIU_W | S(SLJIT_SP) | T(SLJIT_SP) | IMM(-local_size), DR(SLJIT_SP))); 566 FAIL_IF(load_immediate(compiler, DR(TMP_REG1), local_size)); 567 FAIL_IF(push_inst(compiler, ADDU_W | S(SLJIT_SP) | TA(0) | D(TMP_REG2), DR(TMP_REG2))); 568 FAIL_IF(push_inst(compiler, SUBU_W | S(SLJIT_SP) | T(TMP_REG1) | D(SLJIT_SP), DR(SLJIT_SP))); 574 FAIL_IF(push_inst(compiler, STACK_STORE | base | TA(RETURN_ADDR_REG) | IMM(offs), MOVABLE_INS)); 579 FAIL_IF(push_inst(compiler, STACK_STORE | base | T(i) | IMM(offs), MOVABLE_INS)); 584 FAIL_IF(push_inst(compiler, STACK_STORE | base | T(i) | IMM(offs), MOVABLE_INS)); 588 FAIL_IF(push_inst(compiler, ADDU_W | SA(4) | TA(0) | D(SLJIT_S0), DR(SLJIT_S0))); 590 FAIL_IF(push_inst(compiler, ADDU_W | SA(5) | TA(0) | D(SLJIT_S1), DR(SLJIT_S1))) [all...] |
sljitNativeARM_64.c | 130 FAIL_IF(!ptr); 138 FAIL_IF(push_inst(compiler, MOVZ | RD(dst) | ((imm & 0xffff) << 5))); 139 FAIL_IF(push_inst(compiler, MOVK | RD(dst) | (((imm >> 16) & 0xffff) << 5) | (1 << 21))); 140 FAIL_IF(push_inst(compiler, MOVK | RD(dst) | (((imm >> 32) & 0xffff) << 5) | (2 << 21))); 441 FAIL_IF(push_inst(compiler, MOVZ | RD(dst) | ((imm & 0xffff) << 5))); 446 FAIL_IF(push_inst(compiler, MOVN | RD(dst) | ((~imm & 0xffff) << 5))); 474 FAIL_IF(push_inst(compiler, MOVN | RD(dst) | ((simm & 0xffff) << 5) | (i << 21))); 477 FAIL_IF(push_inst(compiler, MOVK | RD(dst) | ((~simm & 0xffff) << 5) | (i << 21))); 490 FAIL_IF(push_inst(compiler, MOVZ | RD(dst) | ((simm & 0xffff) << 5) | (i << 21))); 493 FAIL_IF(push_inst(compiler, MOVK | RD(dst) | ((simm & 0xffff) << 5) | (i << 21))) [all...] |
sljitNativeX86_common.c | 613 FAIL_IF(!inst); 617 FAIL_IF(!inst); 636 FAIL_IF(!inst); 641 FAIL_IF(!inst); 687 FAIL_IF(!inst); 694 FAIL_IF(!inst); 713 FAIL_IF(emit_load_imm64(compiler, TMP_REG2, srcw)); 715 FAIL_IF(!inst); 721 FAIL_IF(!inst); 727 FAIL_IF(!inst) [all...] |
sljitNativeSPARC_common.c | 195 FAIL_IF(!ptr); 437 FAIL_IF(push_inst(compiler, SAVE | D(SLJIT_SP) | S1(SLJIT_SP) | IMM(-local_size), UNMOVABLE_INS)); 440 FAIL_IF(load_immediate(compiler, TMP_REG1, -local_size)); 441 FAIL_IF(push_inst(compiler, SAVE | D(SLJIT_SP) | S1(SLJIT_SP) | S2(TMP_REG1), UNMOVABLE_INS)); 467 FAIL_IF(emit_mov_before_return(compiler, op, src, srcw)); 471 FAIL_IF(push_inst(compiler, JMPL | D(0) | S1A(31) | IMM(8), UNMOVABLE_INS)); 523 FAIL_IF(push_inst(compiler, data_transfer_insts[flags & MEM_MASK] 585 FAIL_IF(push_inst(compiler, SLL_W | D(arg2) | S1(OFFS_REG(arg)) | IMM_ARG | argw, DR(arg2))); 592 FAIL_IF(push_inst(compiler, ADD | D(TMP_REG3) | S1(TMP_REG3) | IMM(argw - compiler->cache_argw), DR(TMP_REG3))); 606 FAIL_IF(load_immediate(compiler, arg2, argw)) [all...] |
sljitNativeARM_T2_32.c | 190 FAIL_IF(!ptr); 199 FAIL_IF(!ptr); 208 FAIL_IF(push_inst32(compiler, MOVW | RD4(dst) | 491 FAIL_IF(push_inst32(compiler, MOVW | RD4(dst) | 522 FAIL_IF(load_immediate(compiler, TMP_REG1, arg1)); 668 FAIL_IF(load_immediate(compiler, TMP_REG2, arg2)); 672 FAIL_IF(load_immediate(compiler, TMP_REG1, arg1)); 722 FAIL_IF(push_inst32(compiler, CLZ | RN4(arg2) | RD4(dst) | RM4(arg2))); 751 FAIL_IF(push_inst32(compiler, SMULL | RT4(dst) | RD4(TMP_REG2) | RN4(arg1) | RM4(arg2))); 911 FAIL_IF(push_inst32(compiler, sljit_mem32[flags] | MEM_IMM8 | RT4(reg) | RN4(arg) | 0x100 | argw)) [all...] |
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ |
lib.c | 37 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1); 38 FAIL_IF(read(read_pipe.read_fd, &c, 1) != 1); 49 FAIL_IF(read(read_pipe.read_fd, &c, 1) != 1); 50 FAIL_IF(c != PARENT_TOKEN); 59 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1); 68 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1); 123 FAIL_IF(cpu < 0); 124 FAIL_IF(bind_to_cpu(cpu));
|
count_instructions.c | 116 FAIL_IF(do_count_loop(events, 1000000, overhead, true)); 119 FAIL_IF(do_count_loop(events, 10000000, overhead, true)); 122 FAIL_IF(do_count_loop(events, 100000000, overhead, true)); 125 FAIL_IF(do_count_loop(events, 1000000000, overhead, true)); 128 FAIL_IF(do_count_loop(events, 16000000000, overhead, true)); 131 FAIL_IF(do_count_loop(events, 64000000000, overhead, true));
|
per_event_excludes.c | 30 FAIL_IF(!platform); 63 FAIL_IF(event_open(&events[0])); 71 FAIL_IF(event_open_with_group(&events[i], events[0].fd)); 86 FAIL_IF(event_read(&events[i])); 95 FAIL_IF(events[i].result.running != events[i].result.enabled); 103 FAIL_IF(events[0].result.value < events[i].result.value);
|
/external/linux-kselftest/tools/testing/selftests/powerpc/math/ |
fpu_syscall.c | 58 FAIL_IF(pid == -1); 61 /* Can't FAIL_IF(pid2 == -1); because already forked once */ 82 FAIL_IF(ret || child_ret);
|