Lines Matching refs:arg_count

936 	sljit_s32 arg_count, word_arg_count, float_arg_count;  in sljit_emit_enter()  local
962 arg_count = 0; in sljit_emit_enter()
965 offset = arg_count; in sljit_emit_enter()
967 if ((arg_count & 0x1) != 0) in sljit_emit_enter()
968 arg_count++; in sljit_emit_enter()
969 arg_count++; in sljit_emit_enter()
972 arg_count++; in sljit_emit_enter()
976 compiler->args_size = (sljit_uw)arg_count << 2; in sljit_emit_enter()
1031 arg_count = 0; in sljit_emit_enter()
1046 if ((arg_count & 0x1) != 0) in sljit_emit_enter()
1047 arg_count++; in sljit_emit_enter()
1052 } else if (arg_count < 4) { in sljit_emit_enter()
1053 FAIL_IF(push_inst(compiler, MTC1 | TA(4 + arg_count) | FS(float_arg_count), MOVABLE_INS)); in sljit_emit_enter()
1057 FAIL_IF(push_inst(compiler, MTHC1 | TA(5 + arg_count) | FS(float_arg_count), MOVABLE_INS)); in sljit_emit_enter()
1061 …FAIL_IF(push_inst(compiler, MTC1 | TA(5 + arg_count) | FS(float_arg_count) | (1 << 11), MOVABLE_IN… in sljit_emit_enter()
1065 …FAIL_IF(push_inst(compiler, LDC1 | base | FT(float_arg_count) | IMM(local_size + (arg_count << 2))… in sljit_emit_enter()
1066 arg_count++; in sljit_emit_enter()
1074 } else if (arg_count < 4) in sljit_emit_enter()
1075 FAIL_IF(push_inst(compiler, MTC1 | TA(4 + arg_count) | FS(float_arg_count), MOVABLE_INS)); in sljit_emit_enter()
1077 …FAIL_IF(push_inst(compiler, LWC1 | base | FT(float_arg_count) | IMM(local_size + (arg_count << 2))… in sljit_emit_enter()
1085 } else if (word_arg_count != arg_count + 1 || arg_count == 0) in sljit_emit_enter()
1090 if (arg_count < 4) in sljit_emit_enter()
1091 FAIL_IF(push_inst(compiler, ADDU_W | SA(4 + arg_count) | TA(0) | D(tmp), DR(tmp))); in sljit_emit_enter()
1093 FAIL_IF(push_inst(compiler, LW | base | T(tmp) | IMM(local_size + (arg_count << 2)), DR(tmp))); in sljit_emit_enter()
1096 arg_count++; in sljit_emit_enter()
1100 SLJIT_ASSERT(compiler->args_size == (sljit_uw)arg_count << 2); in sljit_emit_enter()
1103 arg_count++; in sljit_emit_enter()
1107 if (arg_count != float_arg_count) in sljit_emit_enter()
1108 FAIL_IF(push_inst(compiler, MOV_fmt(FMT_D) | FS(arg_count) | FD(float_arg_count), MOVABLE_INS)); in sljit_emit_enter()
1109 else if (arg_count == 1) in sljit_emit_enter()
1114 if (arg_count != float_arg_count) in sljit_emit_enter()
1115 FAIL_IF(push_inst(compiler, MOV_fmt(FMT_S) | FS(arg_count) | FD(float_arg_count), MOVABLE_INS)); in sljit_emit_enter()
1116 else if (arg_count == 1) in sljit_emit_enter()
1125 } else if (word_arg_count != arg_count || word_arg_count <= 1) in sljit_emit_enter()
1130 FAIL_IF(push_inst(compiler, ADDU_W | SA(3 + arg_count) | TA(0) | D(tmp), DR(tmp))); in sljit_emit_enter()