Lines Matching defs:cond
107 Condition cond, Register src1,
109 Branch(2, NegateCondition(cond), src1, src2);
2232 MSABranchCondition cond, MSARegister wt,
2242 MSABranchCondition neg_cond = NegateMSABranchCondition(cond);
2247 BranchShortMSA(df, target, cond, wt, bd);
2254 MSABranchCondition cond, MSARegister wt,
2259 switch (cond) {
2364 const Operand& rt, Condition cond) {
2366 switch (cond) {
2721 #define BRANCH_ARGS_CHECK(cond, rs, rt) \
2722 DCHECK((cond == cc_always && rs == zero_reg && rt.rm() == zero_reg) || \
2723 (cond != cc_always && (rs != zero_reg || rt.rm() != zero_reg)))
2730 void TurboAssembler::Branch(int32_t offset, Condition cond, Register rs,
2732 bool is_near = BranchShortCheck(offset, nullptr, cond, rs, rt, bdslot);
2753 void TurboAssembler::Branch(Label* L, Condition cond, Register rs,
2756 if (!BranchShortCheck(0, L, cond, rs, rt, bdslot)) {
2757 if (cond != cc_always) {
2759 Condition neg_cond = NegateCondition(cond);
2769 if (cond != cc_always) {
2771 Condition neg_cond = NegateCondition(cond);
2779 BranchShort(L, cond, rs, rt, bdslot);
2784 void TurboAssembler::Branch(Label* L, Condition cond, Register rs,
2789 Branch(L, cond, rs, Operand(scratch), bdslot);
2864 Condition cond, Register rs,
2875 switch (cond) {
3075 bool TurboAssembler::BranchShortHelper(int16_t offset, Label* L, Condition cond,
3090 switch (cond) {
3210 bool TurboAssembler::BranchShortCheck(int32_t offset, Label* L, Condition cond,
3213 BRANCH_ARGS_CHECK(cond, rs, rt);
3217 return BranchShortHelperR6(offset, nullptr, cond, rs, rt);
3220 return BranchShortHelper(offset, nullptr, cond, rs, rt, bdslot);
3225 return BranchShortHelperR6(0, L, cond, rs, rt);
3227 return BranchShortHelper(0, L, cond, rs, rt, bdslot);
3232 void TurboAssembler::BranchShort(int32_t offset, Condition cond, Register rs,
3234 BranchShortCheck(offset, nullptr, cond, rs, rt, bdslot);
3237 void TurboAssembler::BranchShort(Label* L, Condition cond, Register rs,
3239 BranchShortCheck(0, L, cond, rs, rt, bdslot);
3246 void TurboAssembler::BranchAndLink(int32_t offset, Condition cond, Register rs,
3248 bool is_near = BranchAndLinkShortCheck(offset, nullptr, cond, rs, rt, bdslot);
3269 void TurboAssembler::BranchAndLink(Label* L, Condition cond, Register rs,
3272 if (!BranchAndLinkShortCheck(0, L, cond, rs, rt, bdslot)) {
3274 Condition neg_cond = NegateCondition(cond);
3282 Condition neg_cond = NegateCondition(cond);
3287 BranchAndLinkShortCheck(0, L, cond, rs, rt, bdslot);
3328 Condition cond, Register rs,
3336 DCHECK((cond == cc_always && is_int26(offset)) || is_int16(offset));
3337 switch (cond) {
3470 Condition cond, Register rs,
3479 switch (cond) {
3560 Condition cond, Register rs,
3563 BRANCH_ARGS_CHECK(cond, rs, rt);
3568 return BranchAndLinkShortHelperR6(offset, nullptr, cond, rs, rt);
3571 return BranchAndLinkShortHelper(offset, nullptr, cond, rs, rt, bdslot);
3576 return BranchAndLinkShortHelperR6(0, L, cond, rs, rt);
3578 return BranchAndLinkShortHelper(0, L, cond, rs, rt, bdslot);
3606 void TurboAssembler::Jump(Register target, int16_t offset, Condition cond,
3611 if (cond == cc_always) {
3614 BRANCH_ARGS_CHECK(cond, rs, rt);
3615 Branch(2, NegateCondition(cond), rs, rt);
3622 if (cond == cc_always) {
3625 BRANCH_ARGS_CHECK(cond, rs, rt);
3626 Branch(2, NegateCondition(cond), rs, rt);
3635 Condition cond, Register rs, const Operand& rt,
3640 if (cond == cc_always) {
3643 BRANCH_ARGS_CHECK(cond, rs, rt);
3644 Branch(2, NegateCondition(cond), rs, rt);
3653 if (cond == cc_always) {
3656 BRANCH_ARGS_CHECK(cond, rs, rt);
3657 Branch(2, NegateCondition(cond), rs, rt);
3666 Condition cond, Register rs, const Operand& rt,
3676 if (cond == cc_always) {
3679 BRANCH_ARGS_CHECK(cond, rs, rt);
3680 Branch(2, NegateCondition(cond), rs, rt);
3687 if (cond == cc_always) {
3690 BRANCH_ARGS_CHECK(cond, rs, rt);
3691 Branch(2, NegateCondition(cond), rs, rt);
3700 Condition cond, Register rs, const Operand& rt,
3704 if (cond != cc_always) {
3705 Branch(USE_DELAY_SLOT, &skip, NegateCondition(cond), rs, rt);
3724 void TurboAssembler::Jump(Address target, RelocInfo::Mode rmode, Condition cond,
3727 Jump(static_cast<intptr_t>(target), rmode, cond, rs, rt, bd);
3731 Condition cond, Register rs, const Operand& rt,
3745 if (cond != cc_always) {
3748 Branch(USE_DELAY_SLOT, &skip, NegateCondition(cond), rs, rt);
3756 Jump(t9, Code::kHeaderSize - kHeapObjectTag, cond, rs, rt, bd);
3763 Jump(t9, 0, cond, rs, rt, bd);
3768 Jump(static_cast<intptr_t>(code.address()), rmode, cond, rs, rt, bd);
3791 void TurboAssembler::Call(Register target, int16_t offset, Condition cond,
3796 if (cond == cc_always) {
3799 BRANCH_ARGS_CHECK(cond, rs, rt);
3800 Branch(2, NegateCondition(cond), rs, rt);
3807 if (cond == cc_always) {
3810 BRANCH_ARGS_CHECK(cond, rs, rt);
3811 Branch(2, NegateCondition(cond), rs, rt);
3822 Condition cond, Register rs, const Operand& rt,
3827 if (cond == cc_always) {
3830 BRANCH_ARGS_CHECK(cond, rs, rt);
3831 Branch(2, NegateCondition(cond), rs, rt);
3840 if (cond == cc_always) {
3843 BRANCH_ARGS_CHECK(cond, rs, rt);
3844 Branch(2, NegateCondition(cond), rs, rt);
3853 void TurboAssembler::Call(Address target, RelocInfo::Mode rmode, Condition cond,
3858 if (IsMipsArchVariant(kMips32r6) && bd == PROTECT && cond == cc_always) {
3865 Call(t9, jialc_offset, cond, rs, rt, bd);
3868 Call(t9, 0, cond, rs, rt, bd);
3873 Condition cond, Register rs, const Operand& rt,
3886 if (cond != cc_always) {
3887 Branch(PROTECT, &skip, NegateCondition(cond), rs, rt);
3895 Call(t9, Code::kHeaderSize - kHeapObjectTag, cond, rs, rt, bd);
3902 Call(t9, 0, cond, rs, rt, bd);
3909 Call(code.address(), rmode, cond, rs, rt, bd);
4004 void TurboAssembler::Ret(Condition cond, Register rs, const Operand& rt,
4006 Jump(ra, 0, cond, rs, rt, bd);
4098 void TurboAssembler::DropAndRet(int drop, Condition cond, Register r1,
4102 if (cond != cc_always) {
4103 Branch(&skip, NegateCondition(cond), r1, r2);
4109 if (cond != cc_always) {
4114 void TurboAssembler::Drop(int count, Condition cond, Register reg,
4122 if (cond != al) {
4123 Branch(&skip, NegateCondition(cond), reg, op);
4128 if (cond != al) {