Lines Matching refs:FAIL_IF

333 	FAIL_IF(!ptr);  in push_inst_debug()
344 FAIL_IF(!ptr); in push_inst_nodebug()
355 FAIL_IF(!ptr); in push_inst()
739 FAIL_IF(update_buffer(compiler)); in flush_buffer()
747 FAIL_IF(update_buffer(compiler)); in push_4_buffer()
767 FAIL_IF(update_buffer(compiler)); in push_3_buffer()
828 FAIL_IF(update_buffer(compiler)); in push_2_buffer()
873 FAIL_IF(update_buffer(compiler)); in push_0_buffer()
889 FAIL_IF(update_buffer(compiler)); in push_jr_buffer()
1127 FAIL_IF(ADDLI(dst_ar, ZERO, imm >> 16)); in load_immediate()
1132 FAIL_IF(ADDLI(dst_ar, ZERO, imm >> 32)); in load_immediate()
1133 FAIL_IF(SHL16INSLI(dst_ar, dst_ar, imm >> 16)); in load_immediate()
1137 FAIL_IF(ADDLI(dst_ar, ZERO, imm >> 48)); in load_immediate()
1138 FAIL_IF(SHL16INSLI(dst_ar, dst_ar, imm >> 32)); in load_immediate()
1139 FAIL_IF(SHL16INSLI(dst_ar, dst_ar, imm >> 16)); in load_immediate()
1148 FAIL_IF(ADDLI_SOLO(dst_ar, ZERO, imm >> 32)); in emit_const()
1149 FAIL_IF(SHL16INSLI_SOLO(dst_ar, dst_ar, imm >> 16)); in emit_const()
1153 FAIL_IF(ADDLI(dst_ar, ZERO, imm >> 32)); in emit_const()
1154 FAIL_IF(SHL16INSLI(dst_ar, dst_ar, imm >> 16)); in emit_const()
1163 FAIL_IF(ADDLI_SOLO(reg_map[dst_ar], ZERO, imm >> 48)); in emit_const_64()
1164 FAIL_IF(SHL16INSLI_SOLO(reg_map[dst_ar], reg_map[dst_ar], imm >> 32)); in emit_const_64()
1165 FAIL_IF(SHL16INSLI_SOLO(reg_map[dst_ar], reg_map[dst_ar], imm >> 16)); in emit_const_64()
1169 FAIL_IF(ADDLI(reg_map[dst_ar], ZERO, imm >> 48)); in emit_const_64()
1170 FAIL_IF(SHL16INSLI(reg_map[dst_ar], reg_map[dst_ar], imm >> 32)); in emit_const_64()
1171 FAIL_IF(SHL16INSLI(reg_map[dst_ar], reg_map[dst_ar], imm >> 16)); in emit_const_64()
1192 FAIL_IF(ADDLI(SLJIT_LOCALS_REG_mapped, SLJIT_LOCALS_REG_mapped, -local_size)); in sljit_emit_enter()
1195 FAIL_IF(load_immediate(compiler, TMP_REG1_mapped, local_size)); in sljit_emit_enter()
1196 FAIL_IF(ADD(TMP_REG2_mapped, SLJIT_LOCALS_REG_mapped, ZERO)); in sljit_emit_enter()
1197 FAIL_IF(SUB(SLJIT_LOCALS_REG_mapped, SLJIT_LOCALS_REG_mapped, TMP_REG1_mapped)); in sljit_emit_enter()
1203 FAIL_IF(ADDLI(ADDR_TMP_mapped, base, local_size - 8)); in sljit_emit_enter()
1204 FAIL_IF(ST_ADD(ADDR_TMP_mapped, RA, -8)); in sljit_emit_enter()
1209 FAIL_IF(ST_ADD(ADDR_TMP_mapped, reg_map[i], -8)); in sljit_emit_enter()
1214 FAIL_IF(ST_ADD(ADDR_TMP_mapped, reg_map[i], -8)); in sljit_emit_enter()
1219 FAIL_IF(ADD(reg_map[SLJIT_S0 - i], i, ZERO)); in sljit_emit_enter()
1249 FAIL_IF(emit_mov_before_return(compiler, op, src, srcw)); in sljit_emit_return()
1255 FAIL_IF(load_immediate(compiler, TMP_REG1_mapped, local_size)); in sljit_emit_return()
1256 FAIL_IF(ADD(TMP_REG1_mapped, SLJIT_LOCALS_REG_mapped, TMP_REG1_mapped)); in sljit_emit_return()
1262 FAIL_IF(ADDLI(ADDR_TMP_mapped, base, local_size - 8)); in sljit_emit_return()
1263 FAIL_IF(LD_ADD(RA, ADDR_TMP_mapped, -8)); in sljit_emit_return()
1269 FAIL_IF(LD_ADD(reg_map[i], ADDR_TMP_mapped, -8)); in sljit_emit_return()
1274 FAIL_IF(LD_ADD(reg_map[i], ADDR_TMP_mapped, -8)); in sljit_emit_return()
1278 FAIL_IF(ADDLI(SLJIT_LOCALS_REG_mapped, SLJIT_LOCALS_REG_mapped, compiler->local_size)); in sljit_emit_return()
1280 FAIL_IF(ADD(SLJIT_LOCALS_REG_mapped, TMP_REG1_mapped, ZERO)); in sljit_emit_return()
1298 FAIL_IF(ADDLI(ADDR_TMP_mapped, reg_map[arg & REG_MASK], argw)); in getput_arg_fast()
1301 FAIL_IF(PB2(data_transfer_insts[flags & MEM_MASK], reg_ar, ADDR_TMP_mapped)); in getput_arg_fast()
1303 FAIL_IF(PB2(data_transfer_insts[flags & MEM_MASK], ADDR_TMP_mapped, reg_ar)); in getput_arg_fast()
1362 FAIL_IF(ADD(TMP_REG1_mapped, reg_ar, ZERO)); in getput_arg()
1380 FAIL_IF(ADD(TMP_REG3_mapped, reg_map[base], TMP_REG3_mapped)); in getput_arg()
1387 FAIL_IF(ADD(tmp_ar, reg_map[base], TMP_REG3_mapped)); in getput_arg()
1395 FAIL_IF(ADD(reg_map[base], reg_map[base], TMP_REG3_mapped)); in getput_arg()
1407 FAIL_IF(SHLI(TMP_REG3_mapped, reg_map[OFFS_REG(arg)], argw)); in getput_arg()
1414 FAIL_IF(ADD(TMP_REG3_mapped, reg_map[base], reg_map[!argw ? OFFS_REG(arg) : TMP_REG3])); in getput_arg()
1417 FAIL_IF(ADD(tmp_ar, reg_map[base], reg_map[!argw ? OFFS_REG(arg) : TMP_REG3])); in getput_arg()
1425 FAIL_IF(ADD(reg_map[base], reg_map[base], reg_map[!argw ? OFFS_REG(arg) : TMP_REG3])); in getput_arg()
1438 FAIL_IF(ADDLI(ADDR_TMP_mapped, reg_map[base], argw)); in getput_arg()
1440 FAIL_IF(PB2(data_transfer_insts[flags & MEM_MASK], reg_ar, ADDR_TMP_mapped)); in getput_arg()
1442 FAIL_IF(PB2(data_transfer_insts[flags & MEM_MASK], ADDR_TMP_mapped, reg_ar)); in getput_arg()
1450 FAIL_IF(ADD(TMP_REG1_mapped, reg_ar, ZERO)); in getput_arg()
1456 FAIL_IF(ADDLI(reg_map[base], reg_map[base], argw)); in getput_arg()
1462 FAIL_IF(ADD(TMP_REG3_mapped, TMP_REG3_mapped, argw - compiler->cache_argw)); in getput_arg()
1466 FAIL_IF(ADD(reg_map[base], reg_map[base], TMP_REG3_mapped)); in getput_arg()
1470 FAIL_IF(load_immediate(compiler, TMP_REG3_mapped, argw)); in getput_arg()
1471 FAIL_IF(ADD(reg_map[base], reg_map[base], TMP_REG3_mapped)); in getput_arg()
1485 FAIL_IF(ADDLI(TMP_REG3_mapped, TMP_REG3_mapped, argw - compiler->cache_argw)); in getput_arg()
1499 FAIL_IF(ADDLI(TMP_REG3_mapped, TMP_REG3_mapped, argw - compiler->cache_argw)); in getput_arg()
1502 FAIL_IF(load_immediate(compiler, TMP_REG3_mapped, argw)); in getput_arg()
1518 FAIL_IF(ADD(TMP_REG3_mapped, TMP_REG3_mapped, reg_map[base])); in getput_arg()
1525 FAIL_IF(ADD(tmp_ar, TMP_REG3_mapped, reg_map[base])); in getput_arg()
1574 FAIL_IF(ADD(RA, reg_map[src], ZERO)); in sljit_emit_fast_return()
1577 FAIL_IF(emit_op_mem(compiler, WORD_DATA | LOAD_DATA, RA, src, srcw)); in sljit_emit_fast_return()
1580 FAIL_IF(load_immediate(compiler, RA, srcw)); in sljit_emit_fast_return()
1645 FAIL_IF(NOR(EQUAL_FLAG, reg_map[src2], reg_map[src2])); in emit_single_op()
1647 FAIL_IF(NOR(reg_map[dst], reg_map[src2], reg_map[src2])); in emit_single_op()
1654 FAIL_IF(CLZ(EQUAL_FLAG, reg_map[src2])); in emit_single_op()
1656 FAIL_IF(CLZ(reg_map[dst], reg_map[src2])); in emit_single_op()
1663 FAIL_IF(SHRUI(TMP_EREG1, reg_map[src1], 63)); in emit_single_op()
1665 FAIL_IF(XORI(TMP_EREG1, TMP_EREG1, 1)); in emit_single_op()
1669 FAIL_IF(ADDLI(EQUAL_FLAG, reg_map[src1], src2)); in emit_single_op()
1673 FAIL_IF(ORI(ULESS_FLAG ,reg_map[src1], src2)); in emit_single_op()
1675 FAIL_IF(ADDLI(ULESS_FLAG ,ZERO, src2)); in emit_single_op()
1676 FAIL_IF(OR(ULESS_FLAG,reg_map[src1],ULESS_FLAG)); in emit_single_op()
1682 FAIL_IF(ADDLI(reg_map[dst], reg_map[src1], src2)); in emit_single_op()
1685 FAIL_IF(SHRUI(OVERFLOW_FLAG, reg_map[dst], 63)); in emit_single_op()
1688 FAIL_IF(XORI(OVERFLOW_FLAG, OVERFLOW_FLAG, 1)); in emit_single_op()
1692 FAIL_IF(XOR(TMP_EREG1, reg_map[src1], reg_map[src2])); in emit_single_op()
1693 FAIL_IF(SHRUI(TMP_EREG1, TMP_EREG1, 63)); in emit_single_op()
1701 FAIL_IF(ADD(TMP_EREG2, reg_map[src1], ZERO)); in emit_single_op()
1707 FAIL_IF(ADD(EQUAL_FLAG ,reg_map[src1], reg_map[src2])); in emit_single_op()
1710 FAIL_IF(OR(ULESS_FLAG,reg_map[src1], reg_map[src2])); in emit_single_op()
1714 FAIL_IF(ADD(reg_map[dst],reg_map[src1], reg_map[src2])); in emit_single_op()
1717 FAIL_IF(XOR(OVERFLOW_FLAG,reg_map[dst], overflow_ra)); in emit_single_op()
1718 FAIL_IF(SHRUI(OVERFLOW_FLAG, OVERFLOW_FLAG, 63)); in emit_single_op()
1724 FAIL_IF(CMPLTU(ULESS_FLAG ,reg_map[dst] ,ULESS_FLAG)); in emit_single_op()
1735 FAIL_IF(ORI(TMP_EREG1, reg_map[src1], src2)); in emit_single_op()
1737 FAIL_IF(ADDLI(TMP_EREG1, ZERO, src2)); in emit_single_op()
1738 FAIL_IF(OR(TMP_EREG1, reg_map[src1], TMP_EREG1)); in emit_single_op()
1742 FAIL_IF(ADDLI(reg_map[dst], reg_map[src1], src2)); in emit_single_op()
1746 FAIL_IF(OR(TMP_EREG1, reg_map[src1], reg_map[src2])); in emit_single_op()
1749 FAIL_IF(ADD(reg_map[dst], reg_map[src1], reg_map[src2])); in emit_single_op()
1753 FAIL_IF(CMPLTU(TMP_EREG1, reg_map[dst], TMP_EREG1)); in emit_single_op()
1755 FAIL_IF(ADD(reg_map[dst], reg_map[dst], ULESS_FLAG)); in emit_single_op()
1761 FAIL_IF(CMPLTUI(TMP_EREG2, reg_map[dst], 1)); in emit_single_op()
1762 FAIL_IF(AND(TMP_EREG2, TMP_EREG2, ULESS_FLAG)); in emit_single_op()
1768 FAIL_IF(ADDLI(TMP_REG2_mapped, ZERO, src2)); in emit_single_op()
1775 FAIL_IF(SHRUI(TMP_EREG1,reg_map[src1], 63)); in emit_single_op()
1778 FAIL_IF(XORI(TMP_EREG1, TMP_EREG1, 1)); in emit_single_op()
1784 FAIL_IF(ADD(TMP_EREG2, reg_map[src1], ZERO)); in emit_single_op()
1790 FAIL_IF(ADDLI(EQUAL_FLAG, reg_map[src1], -src2)); in emit_single_op()
1793 FAIL_IF(load_immediate(compiler, ADDR_TMP_mapped, src2)); in emit_single_op()
1794 FAIL_IF(CMPLTU(ULESS_FLAG, reg_map[src1], ADDR_TMP_mapped)); in emit_single_op()
1799 FAIL_IF(ADDLI(reg_map[dst], reg_map[src1], -src2)); in emit_single_op()
1804 FAIL_IF(XOR(TMP_EREG1, reg_map[src1], reg_map[src2])); in emit_single_op()
1805 FAIL_IF(SHRUI(TMP_EREG1, TMP_EREG1, 63)); in emit_single_op()
1811 FAIL_IF(ADD(TMP_EREG2, reg_map[src1], ZERO)); in emit_single_op()
1817 FAIL_IF(SUB(EQUAL_FLAG, reg_map[src1], reg_map[src2])); in emit_single_op()
1820 FAIL_IF(CMPLTU(ULESS_FLAG, reg_map[src1], reg_map[src2])); in emit_single_op()
1823 FAIL_IF(CMPLTU(UGREATER_FLAG, reg_map[src2], reg_map[src1])); in emit_single_op()
1826 FAIL_IF(CMPLTS(LESS_FLAG ,reg_map[src1] ,reg_map[src2])); in emit_single_op()
1827 FAIL_IF(CMPLTS(GREATER_FLAG ,reg_map[src2] ,reg_map[src1])); in emit_single_op()
1832 FAIL_IF(SUB(reg_map[dst], reg_map[src1], reg_map[src2])); in emit_single_op()
1836 FAIL_IF(XOR(OVERFLOW_FLAG, reg_map[dst], overflow_ra)); in emit_single_op()
1837 FAIL_IF(SHRUI(OVERFLOW_FLAG, OVERFLOW_FLAG, 63)); in emit_single_op()
1845 FAIL_IF(ADDLI(TMP_REG2_mapped, ZERO, src2)); in emit_single_op()
1852 FAIL_IF(load_immediate(compiler, ADDR_TMP_mapped, -src2)); in emit_single_op()
1853 FAIL_IF(CMPLTU(TMP_EREG1, reg_map[src1], ADDR_TMP_mapped)); in emit_single_op()
1857 FAIL_IF(ADDLI(reg_map[dst], reg_map[src1], -src2)); in emit_single_op()
1861 FAIL_IF(CMPLTU(TMP_EREG1, reg_map[src1], reg_map[src2])); in emit_single_op()
1863 FAIL_IF(SUB(reg_map[dst], reg_map[src1], reg_map[src2])); in emit_single_op()
1867 FAIL_IF(CMOVEQZ(TMP_EREG1, reg_map[dst], ULESS_FLAG)); in emit_single_op()
1869 FAIL_IF(SUB(reg_map[dst], reg_map[dst], ULESS_FLAG)); in emit_single_op()
1872 FAIL_IF(ADD(ULESS_FLAG, TMP_EREG1, ZERO)); in emit_single_op()
1878 FAIL_IF(load_immediate(compiler, TMP_REG2_mapped, src2)); in emit_single_op()
1883 FAIL_IF(MUL(reg_map[dst], reg_map[src1], reg_map[src2])); in emit_single_op()
1889 FAIL_IF(load_immediate(compiler, ADDR_TMP_mapped, src2)); \ in emit_single_op()
1891 FAIL_IF(push_3_buffer( \ in emit_single_op()
1895 FAIL_IF(push_3_buffer( \ in emit_single_op()
1900 FAIL_IF(push_3_buffer( \ in emit_single_op()
1904 FAIL_IF(push_3_buffer( \ in emit_single_op()
1924 FAIL_IF(push_3_buffer( \ in emit_single_op()
1928 FAIL_IF(push_3_buffer( \ in emit_single_op()
1933 FAIL_IF(push_3_buffer( \ in emit_single_op()
1937 FAIL_IF(push_3_buffer( \ in emit_single_op()
2020 FAIL_IF(load_immediate(compiler, TMP_REG1_mapped, src1w)); in emit_op()
2026 FAIL_IF(compiler->error); in emit_op()
2041 FAIL_IF(load_immediate(compiler, reg_map[sugg_src2_r], src2w)); in emit_op()
2051 FAIL_IF(compiler->error); in emit_op()
2060 FAIL_IF(getput_arg(compiler, flags | LOAD_DATA, TMP_REG2_mapped, src2, src2w, src1, src1w)); in emit_op()
2061 FAIL_IF(getput_arg(compiler, flags | LOAD_DATA, TMP_REG1_mapped, src1, src1w, dst, dstw)); in emit_op()
2063 FAIL_IF(getput_arg(compiler, flags | LOAD_DATA, TMP_REG1_mapped, src1, src1w, src2, src2w)); in emit_op()
2064 FAIL_IF(getput_arg(compiler, flags | LOAD_DATA, TMP_REG2_mapped, src2, src2w, dst, dstw)); in emit_op()
2067 FAIL_IF(getput_arg(compiler, flags | LOAD_DATA, TMP_REG1_mapped, src1, src1w, dst, dstw)); in emit_op()
2069 FAIL_IF(getput_arg(compiler, flags | LOAD_DATA, reg_map[sugg_src2_r], src2, src2w, dst, dstw)); in emit_op()
2071 FAIL_IF(emit_single_op(compiler, op, flags, dst_r, src1_r, src2_r)); in emit_op()
2104 FAIL_IF(emit_op_mem2(compiler, mem_type | LOAD_DATA, TMP_REG1_mapped, src, srcw, dst, dstw)); in sljit_emit_op_flags()
2112 FAIL_IF(CMPLTUI(sugg_dst_ar, EQUAL_FLAG, 1)); in sljit_emit_op_flags()
2137 FAIL_IF(CMPLTUI(sugg_dst_ar, OVERFLOW_FLAG, 1)); in sljit_emit_op_flags()
2149 FAIL_IF(XORI(sugg_dst_ar, dst_ar, 1)); in sljit_emit_op_flags()
2155 FAIL_IF(ADD(TMP_REG2_mapped, dst_ar, ZERO)); in sljit_emit_op_flags()
2329 FAIL_IF(ADD_SOLO(TMP_REG2_mapped, reg_map[src], ZERO)); in sljit_emit_ijump()
2336 FAIL_IF(emit_const(compiler, reg_map[PIC_ADDR_REG], srcw, 1)); in sljit_emit_ijump()
2339 FAIL_IF(emit_op(compiler, SLJIT_MOV, WORD_DATA, TMP_REG2, 0, TMP_REG1, 0, src, srcw)); in sljit_emit_ijump()
2342 FAIL_IF(ADD_SOLO(0, reg_map[SLJIT_R0], ZERO)); in sljit_emit_ijump()
2344 FAIL_IF(ADDI_SOLO(54, 54, -16)); in sljit_emit_ijump()
2346 FAIL_IF(JALR_SOLO(reg_map[PIC_ADDR_REG])); in sljit_emit_ijump()
2353 FAIL_IF(ADD_SOLO(0, reg_map[SLJIT_R0], ZERO)); in sljit_emit_ijump()
2355 FAIL_IF(ADD_SOLO(reg_map[PIC_ADDR_REG], reg_map[src_r], ZERO)); in sljit_emit_ijump()
2357 FAIL_IF(ADDI_SOLO(54, 54, -16)); in sljit_emit_ijump()
2359 FAIL_IF(JALR_SOLO(reg_map[src_r])); in sljit_emit_ijump()
2366 FAIL_IF(!jump); in sljit_emit_ijump()
2369 FAIL_IF(emit_const(compiler, TMP_REG2_mapped, 0, 1)); in sljit_emit_ijump()
2372 FAIL_IF(ADD_SOLO(ZERO, ZERO, ZERO)); in sljit_emit_ijump()
2374 FAIL_IF(JR_SOLO(reg_map[src_r])); in sljit_emit_ijump()
2377 FAIL_IF(JR_SOLO(reg_map[src_r])); in sljit_emit_ijump()
2383 FAIL_IF(emit_op(compiler, SLJIT_MOV, WORD_DATA, TMP_REG2, 0, TMP_REG1, 0, src, srcw)); in sljit_emit_ijump()
2387 FAIL_IF(JR_SOLO(reg_map[src_r])); in sljit_emit_ijump()