/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/ |
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);
|
multi_counter_test.c | 40 FAIL_IF(event_open_with_group(&events[i], group_fd)); 53 FAIL_IF(ioctl(events[0].fd, PERF_EVENT_IOC_ENABLE, PERF_IOC_FLAG_GROUP)); 54 FAIL_IF(event_read(&events[0])); 66 FAIL_IF(core_busy_loop()); 67 FAIL_IF(ebb_check_mmcr0()); 85 FAIL_IF(ebb_state.stats.ebb_count == 0);
|
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);
|
lost_exception_test.c | 36 FAIL_IF(event_open(&event)); 41 FAIL_IF(ebb_event_enable(&event)); 86 FAIL_IF(ebb_state.stats.ebb_count == 0); 89 FAIL_IF(!ebb_check_count(4, orig_period, 2 * (max_period - orig_period)));
|
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_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/pcre/dist2/src/sljit/ |
sljitNativeMIPS_32.c | 37 FAIL_IF(push_inst(compiler, LUI | TA(dst_ar) | IMM(imm >> 16), dst_ar)); 44 FAIL_IF(push_inst(compiler, op_imm | S(src1) | TA(EQUAL_FLAG) | IMM(src2), EQUAL_FLAG)); \ 46 FAIL_IF(push_inst(compiler, op_imm | S(src1) | T(dst) | IMM(src2), DR(dst))); \ 50 FAIL_IF(push_inst(compiler, op_norm | S(src1) | T(src2) | DA(EQUAL_FLAG), EQUAL_FLAG)); \ 52 FAIL_IF(push_inst(compiler, op_norm | S(src1) | T(src2) | D(dst), DR(dst))); \ 58 FAIL_IF(push_inst(compiler, op_imm | T(src1) | DA(EQUAL_FLAG) | SH_IMM(src2), EQUAL_FLAG)); \ 60 FAIL_IF(push_inst(compiler, op_imm | T(src1) | D(dst) | SH_IMM(src2), DR(dst))); \ 64 FAIL_IF(push_inst(compiler, op_v | S(src2) | T(src1) | DA(EQUAL_FLAG), EQUAL_FLAG)); \ 66 FAIL_IF(push_inst(compiler, op_v | S(src2) | T(src1) | D(dst), DR(dst))); \ 90 FAIL_IF(push_inst(compiler, SLL | T(src2) | D(dst) | SH_IMM(24), DR(dst))) [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...] |
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...] |
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...] |
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ |
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);
|
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));
|
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));
|
/external/linux-kselftest/tools/testing/selftests/powerpc/tm/ |
tm-syscall.c | 85 FAIL_IF(getppid_tm(true) == -1); /* Should succeed. */ 91 FAIL_IF(getppid_tm(false) != -1); /* Should fail... */ 92 FAIL_IF(!failure_is_persistent()); /* ...persistently... */ 93 FAIL_IF(!failure_is_syscall()); /* ...with code syscall. */
|
tm-exec.c | 58 FAIL_IF(failure_is_nesting());
|
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/ |
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));
|
ptrace-tm-spr.c | 30 FAIL_IF(regs->tm_tfhar != tfhar); 31 FAIL_IF((regs->tm_texasr == TM_KVM_SCHED) && (regs->tm_tfiar != 0)); 104 FAIL_IF(start_trace(child)); 105 FAIL_IF(show_tm_spr(child, (struct tm_spr_regs *)&pptr->regs)); 111 FAIL_IF(stop_trace(child));
|
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/ |
prot_sao.c | 31 FAIL_IF(p == MAP_FAILED);
|
/external/linux-kselftest/tools/testing/selftests/powerpc/math/ |
fpu_preempt.c | 66 FAIL_IF(!tids); 72 FAIL_IF(rc); 102 FAIL_IF((long) rc_p);
|
vmx_preempt.c | 66 FAIL_IF(!tids); 72 FAIL_IF(rc); 102 FAIL_IF((long) rc_p);
|
/external/linux-kselftest/tools/testing/selftests/powerpc/signal/ |
signal.c | 76 FAIL_IF(1); /* For the line number */ 93 FAIL_IF(1); /* For the line number */ 100 FAIL_IF(1); /* For the line number */
|
signal_tm.c | 75 FAIL_IF(tcheck_transactional()); 93 FAIL_IF(ret); 100 FAIL_IF(fail); /* For the line number */
|