Home | History | Annotate | Download | only in arm

Lines Matching full:static_cast

168         static_cast<uint32_t>(rd) << 8 |
169 static_cast<uint32_t>(rn) << 16 |
170 static_cast<uint32_t>(rm);
184 static_cast<uint32_t>(rd) << 8 |
185 static_cast<uint32_t>(ra) << 12 |
186 static_cast<uint32_t>(rn) << 16 |
187 static_cast<uint32_t>(rm);
200 static_cast<uint32_t>(rd) << 8 |
201 static_cast<uint32_t>(ra) << 12 |
202 static_cast<uint32_t>(rn) << 16 |
203 static_cast<uint32_t>(rm);
216 static_cast<uint32_t>(rd_lo) << 12 |
217 static_cast<uint32_t>(rd_hi) << 8 |
218 static_cast<uint32_t>(rn) << 16 |
219 static_cast<uint32_t>(rm);
232 static_cast<uint32_t>(rd) << 8 |
233 static_cast<uint32_t>(rn) << 16 |
234 static_cast<uint32_t>(rm);
247 static_cast<uint32_t>(rd) << 8 |
248 static_cast<uint32_t>(rn) << 16 |
249 static_cast<uint32_t>(rm);
299 static_cast<int32_t>(rd) << 12 |
300 (static_cast<int32_t>(rd) + 1) << 8 |
310 static_cast<int32_t>(rd) << 12 |
311 (static_cast<int32_t>(rd) + 1) << 8 |
333 ldr(static_cast<Register>(reg), Address(base, kRegisterSize, Address::PostIndex), cond);
357 str(static_cast<Register>(reg), Address(base, -kRegisterSize, strmode), cond);
910 thumb_opcode = 0b0001100 | static_cast<uint32_t>(rd) >> 3;
911 rd = static_cast<Register>(static_cast<uint32_t>(rd) & 0b111);
969 rn = static_cast<Register>(static_cast<uint32_t>(rm) |
970 (static_cast<uint32_t>(rd) & 0b1000) << 1);
971 rd = static_cast<Register>(static_cast<uint32_t>(rd) & 0b111);
976 immediate = static_cast<uint32_t>(so.GetRegister());
1029 immediate = static_cast<uint32_t>(so.GetRegister());
1110 encoding |= imm3 << 12 | imm2 << 6 | static_cast<int16_t>(rm) |
1111 static_cast<int16_t>(rd) << 8 | opcode << 4;
1123 int16_t encoding = opcode << 11 | amount << 6 | static_cast<int16_t>(rm) << 3 |
1124 static_cast<int16_t>(rd);
1149 encoding |= static_cast<int16_t>(rn) << 16 | static_cast<int16_t>(rm) |
1150 static_cast<int16_t>(rd) << 8 | opcode << 21;
1161 int16_t encoding = B14 | opcode << 6 | static_cast<int16_t>(rm) << 3 |
1162 static_cast<int16_t>(rd);
1201 buffer->Store<int16_t>(location_, static_cast<int16_t>(encoding >> 16));
1202 buffer->Store<int16_t>(location_+2, static_cast<int16_t>(encoding & 0xffff));
1210 static_cast<uint32_t>(rn_) |
1297 static_cast<uint32_t>(rd) << 12 |
1330 encoding |= static_cast<uint32_t>(rd);
1365 static_cast<uint32_t>(rd) << 12;
1371 int32_t encoding = B14 | (load ? B11 : 0) | static_cast<uint32_t>(rd) << 8 | offset >> 2;
1383 int32_t encoding = 0x1f << 27 | (load ? B20 : 0) | static_cast<uint32_t>(rd) << 12 |
1393 int32_t encoding = B14 | B12 | (load ? B11 : 0) | static_cast<uint32_t>(rd) |
1501 Emit16(static_cast<uint16_t>(label->position_)); // Emit current label link.
1504 Emit16(static_cast<uint16_t>(label->position_)); // Emit current label link.
1519 static_cast<uint32_t>(rm) << 16 |
1521 static_cast<uint32_t>(rd) << 8 |
1523 static_cast<uint32_t>(rm);
1543 static_cast<uint32_t>(rd) << 8 |
1550 int16_t encoding = B13 | static_cast<uint16_t>(rd) << 8 |
1566 static_cast<uint32_t>(rd) << 8 |
1585 static_cast<uint32_t>(rn) << 16 |
1586 static_cast<uint32_t>(rt) << 12 |
1610 static_cast<uint32_t>(rn) << 16 |
1611 static_cast<uint32_t>(rt) << 12 |
1612 static_cast<uint32_t>(rd) << 8 |
1653 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
1655 ((static_cast<int32_t>(sn) >> 1)*B16) |
1656 (static_cast<int32_t>(rt)*B12) | B11 | B9 |
1657 ((static_cast<int32_t>(sn) & 1)*B7) | B4;
1668 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
1670 ((static_cast<int32_t>(sn) >> 1)*B16) |
1671 (static_cast<int32_t>(rt)*B12) | B11 | B9 |
1672 ((static_cast<int32_t>(sn) & 1)*B7) | B4;
1688 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
1690 (static_cast<int32_t>(rt2)*B16) |
1691 (static_cast<int32_t>(rt)*B12) | B11 | B9 |
1692 ((static_cast<int32_t>(sm) & 1)*B5) | B4 |
1693 (static_cast<int32_t>(sm) >> 1);
1710 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
1712 (static_cast<int32_t>(rt2)*B16) |
1713 (static_cast<int32_t>(rt)*B12) | B11 | B9 |
1714 ((static_cast<int32_t>(sm) & 1)*B5) | B4 |
1715 (static_cast<int32_t>(sm) >> 1);
1730 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
1732 (static_cast<int32_t>(rt2)*B16) |
1733 (static_cast<int32_t>(rt)*B12) | B11 | B9 | B8 |
1734 ((static_cast<int32_t>(dm) >> 4)*B5) | B4 |
1735 (static_cast<int32_t>(dm) & 0xf);
1751 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
1753 (static_cast<int32_t>(rt2)*B16) |
1754 (static_cast<int32_t>(rt)*B12) | B11 | B9 | B8 |
1755 ((static_cast<int32_t>(dm) >> 4)*B5) | B4 |
1756 (static_cast<int32_t>(dm) & 0xf);
1762 const Address& addr = static_cast<const Address&>(ad);
1765 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
1767 ((static_cast<int32_t>(sd) & 1)*B22) |
1768 ((static_cast<int32_t>(sd) >> 1)*B12) |
1775 const Address& addr = static_cast<const Address&>(ad);
1776 CHECK_NE(static_cast<Register>(addr.encodingArm() & (0xf << kRnShift)), PC);
1779 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
1781 ((static_cast<int32_t>(sd) & 1)*B22) |
1782 ((static_cast<int32_t>(sd) >> 1)*B12) |
1789 const Address& addr = static_cast<const Address&>(ad);
1792 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
1794 ((static_cast<int32_t>(dd) >> 4)*B22) |
1795 ((static_cast<int32_t>(dd) & 0xf)*B12) |
1802 const Address& addr = static_cast<const Address&>(ad);
1803 CHECK_NE(static_cast<Register>(addr.encodingArm() & (0xf << kRnShift)), PC);
1806 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
1808 ((static_cast<int32_t>(dd) >> 4)*B22) |
1809 ((static_cast<int32_t>(dd) & 0xf)*B12) |
1816 EmitVPushPop(static_cast<uint32_t>(reg), nregs, true, false, cond);
1821 EmitVPushPop(static_cast<uint32_t>(reg), nregs, true, true, cond);
1826 EmitVPushPop(static_cast<uint32_t>(reg), nregs, false, false, cond);
1831 EmitVPushPop(static_cast<uint32_t>(reg), nregs, false, true, cond);
1867 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
1869 ((static_cast<int32_t>(sd) & 1)*B22) |
1870 ((static_cast<int32_t>(sn) >> 1)*B16) |
1871 ((static_cast<int32_t>(sd) >> 1)*B12) |
1872 ((static_cast<int32_t>(sn) & 1)*B7) |
1873 ((static_cast<int32_t>(sm) & 1)*B5) |
1874 (static_cast<int32_t>(sm) >> 1);
1885 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
1887 ((static_cast<int32_t>(dd) >> 4)*B22) |
1888 ((static_cast<int32_t>(dn) & 0xf)*B16) |
1889 ((static_cast<int32_t>(dd) & 0xf)*B12) |
1890 ((static_cast<int32_t>(dn) >> 4)*B7) |
1891 ((static_cast<int32_t>(dm) >> 4)*B5) |
1892 (static_cast<int32_t>(dm) & 0xf);
1902 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
1904 ((static_cast<int32_t>(sd) & 1)*B22) |
1905 ((static_cast<int32_t>(sd) >> 1)*B12) |
1906 ((static_cast<int32_t>(dm) >> 4)*B5) |
1907 (static_cast<int32_t>(dm) & 0xf);
1917 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) |
1919 ((static_cast<int32_t>(dd) >> 4)*B22) |
1920 ((static_cast<int32_t>(dd) & 0xf)*B12) |
1921 ((static_cast<int32_t>(sm) & 1)*B5) |
1922 (static_cast<int32_t>(sm) >> 1);
1969 it_conditions_[index] = static_cast<Condition>(static_cast<uint8_t>(cond) ^ 1);
1977 uint8_t firstcond0 = static_cast<uint8_t>(firstcond) & 1;
2016 uint16_t branchid = EmitCompareAndBranch(rn, static_cast<uint16_t>(label->position_), false);
2027 uint16_t branchid = EmitCompareAndBranch(rn, static_cast<uint16_t>(label->position_), true);
2036 int16_t encoding = B14 | B10 | B9 | B8 | B7 | static_cast<int16_t>(rm) << 3;
2044 int16_t encoding = B14 | B10 | B9 | B8 | static_cast<int16_t>(rm) << 3;
2110 int16_t cmp = B13 | B11 | static_cast<int16_t>(branch->GetRegister()) << 8;