Lines Matching refs:opcode
26 int opcode; in OpFpRegCopy() local
30 opcode = kMipsFmovd; in OpFpRegCopy()
34 opcode = kMipsFmovs; in OpFpRegCopy()
40 opcode = kMipsMtc1; in OpFpRegCopy()
44 opcode = kMipsMfc1; in OpFpRegCopy()
47 LIR* res = RawLIR(current_dalvik_offset_, opcode, r_src.GetReg(), r_dest.GetReg()); in OpFpRegCopy()
117 MipsOpCode opcode = kMipsNop; in OpReg() local
120 opcode = kMipsJalr; in OpReg()
128 return NewLIR2(opcode, rRA, r_dest_src.GetReg()); in OpReg()
136 MipsOpCode opcode = kMipsNop; in OpRegImm() local
149 res = NewLIR2(opcode, r_dest_src1.GetReg(), abs_value); in OpRegImm()
154 NewLIR2(opcode, r_dest_src1.GetReg(), r_scratch.GetReg()); in OpRegImm()
156 NewLIR3(opcode, r_dest_src1.GetReg(), r_dest_src1.GetReg(), r_scratch.GetReg()); in OpRegImm()
162 MipsOpCode opcode = kMipsNop; in OpRegRegReg() local
165 opcode = kMipsAddu; in OpRegRegReg()
168 opcode = kMipsSubu; in OpRegRegReg()
171 opcode = kMipsAnd; in OpRegRegReg()
174 opcode = kMipsMul; in OpRegRegReg()
177 opcode = kMipsOr; in OpRegRegReg()
180 opcode = kMipsXor; in OpRegRegReg()
183 opcode = kMipsSllv; in OpRegRegReg()
186 opcode = kMipsSrlv; in OpRegRegReg()
189 opcode = kMipsSrav; in OpRegRegReg()
199 return NewLIR3(opcode, r_dest.GetReg(), r_src1.GetReg(), r_src2.GetReg()); in OpRegRegReg()
204 MipsOpCode opcode = kMipsNop; in OpRegRegImm() local
210 opcode = kMipsAddiu; in OpRegRegImm()
213 opcode = kMipsAddu; in OpRegRegImm()
219 opcode = kMipsAddiu; in OpRegRegImm()
222 opcode = kMipsSubu; in OpRegRegImm()
227 opcode = kMipsSll; in OpRegRegImm()
231 opcode = kMipsSrl; in OpRegRegImm()
235 opcode = kMipsSra; in OpRegRegImm()
239 opcode = kMipsAndi; in OpRegRegImm()
242 opcode = kMipsAnd; in OpRegRegImm()
247 opcode = kMipsOri; in OpRegRegImm()
250 opcode = kMipsOr; in OpRegRegImm()
255 opcode = kMipsXori; in OpRegRegImm()
258 opcode = kMipsXor; in OpRegRegImm()
263 opcode = kMipsMul; in OpRegRegImm()
271 res = NewLIR3(opcode, r_dest.GetReg(), r_src1.GetReg(), value); in OpRegRegImm()
275 NewLIR3(opcode, r_dest.GetReg(), r_src1.GetReg(), r_dest.GetReg()); in OpRegRegImm()
279 NewLIR3(opcode, r_dest.GetReg(), r_src1.GetReg(), r_scratch.GetReg()); in OpRegRegImm()
286 MipsOpCode opcode = kMipsNop; in OpRegReg() local
290 opcode = kMipsMove; in OpRegReg()
325 return NewLIR2(opcode, r_dest_src1.GetReg(), r_src2.GetReg()); in OpRegReg()
360 MipsOpCode opcode = kMipsNop; in LoadBaseIndexed() local
381 opcode = kMipsFlwc1; in LoadBaseIndexed()
385 opcode = kMipsLw; in LoadBaseIndexed()
388 opcode = kMipsLhu; in LoadBaseIndexed()
391 opcode = kMipsLh; in LoadBaseIndexed()
394 opcode = kMipsLbu; in LoadBaseIndexed()
397 opcode = kMipsLb; in LoadBaseIndexed()
403 res = NewLIR3(opcode, r_dest.GetReg(), 0, t_reg.GetReg()); in LoadBaseIndexed()
412 MipsOpCode opcode = kMipsNop; in StoreBaseIndexed() local
433 opcode = kMipsFswc1; in StoreBaseIndexed()
437 opcode = kMipsSw; in StoreBaseIndexed()
441 opcode = kMipsSh; in StoreBaseIndexed()
445 opcode = kMipsSb; in StoreBaseIndexed()
450 NewLIR3(opcode, r_src.GetReg(), 0, t_reg.GetReg()); in StoreBaseIndexed()
468 MipsOpCode opcode = kMipsNop; in LoadBaseDispBody() local
482 opcode = kMipsFlwc1; in LoadBaseDispBody()
484 opcode = kMipsLw; in LoadBaseDispBody()
492 opcode = kMipsLw; in LoadBaseDispBody()
494 opcode = kMipsFlwc1; in LoadBaseDispBody()
500 opcode = kMipsLhu; in LoadBaseDispBody()
504 opcode = kMipsLh; in LoadBaseDispBody()
508 opcode = kMipsLbu; in LoadBaseDispBody()
511 opcode = kMipsLb; in LoadBaseDispBody()
519 load = res = NewLIR3(opcode, r_dest.GetReg(), displacement, r_base.GetReg()); in LoadBaseDispBody()
521 … load = res = NewLIR3(opcode, r_dest.GetLowReg(), displacement + LOWORD_OFFSET, r_base.GetReg()); in LoadBaseDispBody()
522 load2 = NewLIR3(opcode, r_dest.GetHighReg(), displacement + HIWORD_OFFSET, r_base.GetReg()); in LoadBaseDispBody()
528 load = NewLIR3(opcode, r_dest.GetLowReg(), LOWORD_OFFSET, r_tmp.GetReg()); in LoadBaseDispBody()
529 load2 = NewLIR3(opcode, r_dest.GetHighReg(), HIWORD_OFFSET, r_tmp.GetReg()); in LoadBaseDispBody()
534 load = NewLIR3(opcode, r_dest.GetReg(), 0, r_tmp.GetReg()); in LoadBaseDispBody()
579 MipsOpCode opcode = kMipsNop; in StoreBaseDispBody() local
593 opcode = kMipsFswc1; in StoreBaseDispBody()
595 opcode = kMipsSw; in StoreBaseDispBody()
603 opcode = kMipsSw; in StoreBaseDispBody()
605 opcode = kMipsFswc1; in StoreBaseDispBody()
612 opcode = kMipsSh; in StoreBaseDispBody()
617 opcode = kMipsSb; in StoreBaseDispBody()
625 store = res = NewLIR3(opcode, r_src.GetReg(), displacement, r_base.GetReg()); in StoreBaseDispBody()
627 … store = res = NewLIR3(opcode, r_src.GetLowReg(), displacement + LOWORD_OFFSET, r_base.GetReg()); in StoreBaseDispBody()
628 store2 = NewLIR3(opcode, r_src.GetHighReg(), displacement + HIWORD_OFFSET, r_base.GetReg()); in StoreBaseDispBody()
634 store = NewLIR3(opcode, r_src.GetReg(), 0, r_scratch.GetReg()); in StoreBaseDispBody()
636 store = NewLIR3(opcode, r_src.GetLowReg(), LOWORD_OFFSET, r_scratch.GetReg()); in StoreBaseDispBody()
637 store2 = NewLIR3(opcode, r_src.GetHighReg(), HIWORD_OFFSET, r_scratch.GetReg()); in StoreBaseDispBody()