Lines Matching full:static_cast
92 os << "Register[" << static_cast<int>(rhs) << "]";
100 os << "s" << static_cast<int>(rhs);
102 os << "SRegister[" << static_cast<int>(rhs) << "]";
110 os << "d" << static_cast<int>(rhs);
112 os << "DRegister[" << static_cast<int>(rhs) << "]";
126 os << "Condition[" << static_cast<int>(rhs) << "]";
146 int32_t encoding = static_cast<int32_t>(cond) << kConditionShift |
148 static_cast<int32_t>(opcode) << kOpcodeShift |
150 static_cast<int32_t>(rn) << kRnShift |
151 static_cast<int32_t>(rd) << kRdShift |
159 int32_t encoding = static_cast<int32_t>(cond) << kConditionShift |
173 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
177 (static_cast<int32_t>(rd) << kRdShift) |
189 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
192 (static_cast<int32_t>(rd) << kRdShift) |
205 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
209 (static_cast<int32_t>(base) << kRnShift) |
222 int32_t encoding = static_cast<int32_t>(cond) << kConditionShift |
223 static_cast<int32_t>(MOV) << kOpcodeShift |
224 static_cast<int32_t>(rd) << kRdShift |
226 static_cast<int32_t>(opcode) << kShiftShift |
227 static_cast<int32_t>(rm);
239 int32_t encoding = static_cast<int32_t>(cond) << kConditionShift |
240 static_cast<int32_t>(MOV) << kOpcodeShift |
241 static_cast<int32_t>(rd) << kRdShift |
243 static_cast<int32_t>(opcode) << kShiftShift |
245 static_cast<int32_t>(rm);
391 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
393 (static_cast<int32_t>(rd) << kRdShift) |
394 (0xf << 8) | B4 | static_cast<int32_t>(rm);
401 int32_t encoding = static_cast<int32_t>(cond) << kConditionShift |
403 static_cast<int32_t>(rd) << kRdShift | (imm16 & 0xfff);
410 int32_t encoding = static_cast<int32_t>(cond) << kConditionShift |
412 static_cast<int32_t>(rd) << kRdShift | (imm16 & 0xfff);
426 (static_cast<int32_t>(cond) << kConditionShift) |
427 (static_cast<int32_t>(rn) << kRnShift) |
428 (static_cast<int32_t>(rd) << kRdShift) |
429 (static_cast<int32_t>(rs) << kRsShift) |
431 (static_cast<int32_t>(rm) << kRmShift);
535 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
539 (static_cast<int32_t>(rn) << kLdExRnShift) |
540 (static_cast
554 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
557 (static_cast<int32_t>(rn) << kStrExRnShift) |
558 (static_cast<int32_t>(rd) << kStrExRdShift) |
560 (static_cast<int32_t>(rt) << kStrExRtShift);
574 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
586 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
588 ((static_cast<int32_t>(sn) >> 1)*B16) |
589 (static_cast<int32_t>(rt)*B12) | B11 | B9 |
590 ((static_cast<int32_t>(sn) & 1)*B7) | B4;
601 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
603 ((static_cast<int32_t>(sn) >> 1)*B16) |
604 (static_cast<int32_t>(rt)*B12) | B11 | B9 |
605 ((static_cast<int32_t>(sn) & 1)*B7) | B4;
621 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
623 (static_cast<int32_t>(rt2)*B16) |
624 (static_cast<int32_t>(rt)*B12) | B11 | B9 |
625 ((static_cast<int32_t>(sm) & 1)*B5) | B4 |
626 (static_cast<int32_t>(sm) >> 1);
643 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
645 (static_cast<int32_t>(rt2)*B16) |
646 (static_cast<int32_t>(rt)*B12) | B11 | B9 |
647 ((static_cast<int32_t>(sm) & 1)*B5) | B4 |
648 (static_cast<int32_t>(sm) >> 1);
663 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
665 (static_cast<int32_t>(rt2)*B16) |
666 (static_cast<int32_t>(rt)*B12) | B11 | B9 | B8 |
667 ((static_cast<int32_t>(dm) >> 4)*B5) | B4 |
668 (static_cast<int32_t>(dm) & 0xf);
684 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
686 (static_cast<int32_t>(rt2)*B16) |
687 (static_cast<int32_t>(rt)*B12) | B11 | B9 | B8 |
688 ((static_cast<int32_t>(dm) >> 4)*B5) | B4 |
689 (static_cast<int32_t>(dm) & 0xf);
697 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
699 ((static_cast<int32_t>(sd) & 1)*B22) |
700 ((static_cast<int32_t>(sd) >> 1)*B12) |
707 CHECK_NE(static_cast<Register>(ad.encoding_ & (0xf << kRnShift)), PC);
710 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
712 ((static_cast<int32_t>(sd) & 1)*B22) |
713 ((static_cast<int32_t>(sd) >> 1)*B12) |
722 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
724 ((static_cast<int32_t>(dd) >> 4)*B22) |
725 ((static_cast<int32_t>(dd) & 0xf)*B12) |
732 CHECK_NE(static_cast<Register>(ad.encoding_ & (0xf << kRnShift)), PC);
735 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
737 ((static_cast<int32_t>(dd) >> 4)*B22) |
738 ((static_cast<int32_t>(dd) & 0xf)*B12) |
750 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
752 ((static_cast<int32_t>(sd) & 1)*B22) |
753 ((static_cast<int32_t>(sn) >> 1)*B16) |
754 ((static_cast<int32_t>(sd) >> 1)*B12) |
755 ((static_cast<int32_t>(sn) & 1)*B7) |
756 ((static_cast<int32_t>(sm) & 1)*B5) |
757 (static_cast<int32_t>(sm) >> 1);
768 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
770 ((static_cast<int32_t>(dd) >> 4)*B22) |
771 ((static_cast<int32_t>(dn) & 0xf)*B16) |
772 ((static_cast<int32_t>(dd) & 0xf)*B12) |
773 ((static_cast<int32_t>(dn) >> 4)*B7) |
774 ((static_cast<int32_t>(dm) >> 4)*B5) |
775 (static_cast<int32_t>(dm) & 0xf);
926 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
928 ((static_cast<int32_t>(sd) & 1)*B22) |
929 ((static_cast<int32_t>(sd) >> 1)*B12) |
930 ((static_cast<int32_t>(dm) >> 4)*B5) |
931 (static_cast<int32_t>(dm) & 0xf);
941 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
943 ((static_cast<int32_t>(dd) >> 4)*B22) |
944 ((static_cast<int32_t>(dd) & 0xf)*B12) |
945 ((static_cast<int32_t>(sm) & 1)*B5) |
946 (static_cast<int32_t>(sm) >> 1);
1023 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
1025 (static_cast<int32_t>(PC)*B12) |
1058 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
1060 (static_cast<int32_t>(rm) << kRmShift);
1067 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
1069 (static_cast<int32_t>(rm) << kRmShift);