Lines Matching refs:arg_count

806 	sljit_s32 arg_count, word_arg_count, float_arg_count;  in sljit_emit_enter()  local
832 arg_count = 0; in sljit_emit_enter()
835 offset = arg_count; in sljit_emit_enter()
837 if ((arg_count & 0x1) != 0) in sljit_emit_enter()
838 arg_count++; in sljit_emit_enter()
839 arg_count++; in sljit_emit_enter()
842 arg_count++; in sljit_emit_enter()
846 compiler->args_size = (sljit_uw)arg_count << 2; in sljit_emit_enter()
901 arg_count = 0; in sljit_emit_enter()
916 if ((arg_count & 0x1) != 0) in sljit_emit_enter()
917 arg_count++; in sljit_emit_enter()
922 } else if (arg_count < 4) { in sljit_emit_enter()
923 FAIL_IF(push_inst(compiler, MTC1 | TA(4 + arg_count) | FS(float_arg_count), MOVABLE_INS)); in sljit_emit_enter()
924 …FAIL_IF(push_inst(compiler, MTC1 | TA(5 + arg_count) | FS(float_arg_count) | (1 << 11), MOVABLE_IN… in sljit_emit_enter()
926 …FAIL_IF(push_inst(compiler, LDC1 | base | FT(float_arg_count) | IMM(local_size + (arg_count << 2))… in sljit_emit_enter()
927 arg_count++; in sljit_emit_enter()
935 } else if (arg_count < 4) in sljit_emit_enter()
936 FAIL_IF(push_inst(compiler, MTC1 | TA(4 + arg_count) | FS(float_arg_count), MOVABLE_INS)); in sljit_emit_enter()
938 …FAIL_IF(push_inst(compiler, LWC1 | base | FT(float_arg_count) | IMM(local_size + (arg_count << 2))… in sljit_emit_enter()
946 } else if (word_arg_count != arg_count + 1 || arg_count == 0) in sljit_emit_enter()
951 if (arg_count < 4) in sljit_emit_enter()
952 FAIL_IF(push_inst(compiler, ADDU_W | SA(4 + arg_count) | TA(0) | D(tmp), DR(tmp))); in sljit_emit_enter()
954 FAIL_IF(push_inst(compiler, LW | base | T(tmp) | IMM(local_size + (arg_count << 2)), DR(tmp))); in sljit_emit_enter()
957 arg_count++; in sljit_emit_enter()
961 SLJIT_ASSERT(compiler->args_size == (sljit_uw)arg_count << 2); in sljit_emit_enter()
964 arg_count++; in sljit_emit_enter()
968 if (arg_count != float_arg_count) in sljit_emit_enter()
969 FAIL_IF(push_inst(compiler, MOV_S | FMT_D | FS(arg_count) | FD(float_arg_count), MOVABLE_INS)); in sljit_emit_enter()
970 else if (arg_count == 1) in sljit_emit_enter()
975 if (arg_count != float_arg_count) in sljit_emit_enter()
976 FAIL_IF(push_inst(compiler, MOV_S | FMT_S | FS(arg_count) | FD(float_arg_count), MOVABLE_INS)); in sljit_emit_enter()
977 else if (arg_count == 1) in sljit_emit_enter()
986 } else if (word_arg_count != arg_count || word_arg_count <= 1) in sljit_emit_enter()
991 FAIL_IF(push_inst(compiler, ADDU_W | SA(3 + arg_count) | TA(0) | D(tmp), DR(tmp))); in sljit_emit_enter()