Lines Matching refs:arg_count

955 	sljit_s32 arg_count, word_arg_count, float_arg_count;  in sljit_emit_enter()  local
984 arg_count = 0; in sljit_emit_enter()
987 offset = arg_count; in sljit_emit_enter()
989 if ((arg_count & 0x1) != 0) in sljit_emit_enter()
990 arg_count++; in sljit_emit_enter()
991 arg_count++; in sljit_emit_enter()
994 arg_count++; in sljit_emit_enter()
998 compiler->args_size = (sljit_uw)arg_count << 2; in sljit_emit_enter()
1053 arg_count = 0; in sljit_emit_enter()
1068 if ((arg_count & 0x1) != 0) in sljit_emit_enter()
1069 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()
1079 FAIL_IF(push_inst(compiler, MTHC1 | TA(5 + arg_count) | FS(float_arg_count), MOVABLE_INS)); in sljit_emit_enter()
1083 …FAIL_IF(push_inst(compiler, MTC1 | TA(5 + arg_count) | FS(float_arg_count) | (1 << 11), MOVABLE_IN… in sljit_emit_enter()
1087 …FAIL_IF(push_inst(compiler, LDC1 | base | FT(float_arg_count) | IMM(local_size + (arg_count << 2))… in sljit_emit_enter()
1088 arg_count++; in sljit_emit_enter()
1096 } else if (arg_count < 4) in sljit_emit_enter()
1097 FAIL_IF(push_inst(compiler, MTC1 | TA(4 + arg_count) | FS(float_arg_count), MOVABLE_INS)); in sljit_emit_enter()
1099 …FAIL_IF(push_inst(compiler, LWC1 | base | FT(float_arg_count) | IMM(local_size + (arg_count << 2))… in sljit_emit_enter()
1107 } else if (word_arg_count != arg_count + 1 || arg_count == 0) in sljit_emit_enter()
1112 if (arg_count < 4) in sljit_emit_enter()
1113 FAIL_IF(push_inst(compiler, ADDU_W | SA(4 + arg_count) | TA(0) | D(tmp), DR(tmp))); in sljit_emit_enter()
1115 FAIL_IF(push_inst(compiler, LW | base | T(tmp) | IMM(local_size + (arg_count << 2)), DR(tmp))); in sljit_emit_enter()
1118 arg_count++; in sljit_emit_enter()
1122 SLJIT_ASSERT(compiler->args_size == (sljit_uw)arg_count << 2); in sljit_emit_enter()
1125 arg_count++; in sljit_emit_enter()
1129 if (arg_count != float_arg_count) in sljit_emit_enter()
1130 FAIL_IF(push_inst(compiler, MOV_fmt(FMT_D) | FS(arg_count) | FD(float_arg_count), MOVABLE_INS)); in sljit_emit_enter()
1131 else if (arg_count == 1) in sljit_emit_enter()
1136 if (arg_count != float_arg_count) in sljit_emit_enter()
1137 FAIL_IF(push_inst(compiler, MOV_fmt(FMT_S) | FS(arg_count) | FD(float_arg_count), MOVABLE_INS)); in sljit_emit_enter()
1138 else if (arg_count == 1) in sljit_emit_enter()
1147 } else if (word_arg_count != arg_count || word_arg_count <= 1) in sljit_emit_enter()
1152 FAIL_IF(push_inst(compiler, ADDU_W | SA(3 + arg_count) | TA(0) | D(tmp), DR(tmp))); in sljit_emit_enter()