Lines Matching refs:opcode
33 int opcode; in OpFpRegCopy() local
39 opcode = kMipsFmovd; in OpFpRegCopy()
45 opcode = kMips64Dmtc1; in OpFpRegCopy()
49 opcode = kMips64Dmfc1; in OpFpRegCopy()
54 opcode = kMipsFmovs; in OpFpRegCopy()
60 opcode = kMipsMtc1; in OpFpRegCopy()
64 opcode = kMipsMfc1; in OpFpRegCopy()
71 opcode = kMipsFmovd; in OpFpRegCopy()
75 opcode = kMipsFmovs; in OpFpRegCopy()
81 opcode = kMipsMtc1; in OpFpRegCopy()
85 opcode = kMipsMfc1; in OpFpRegCopy()
91 res = RawLIR(current_dalvik_offset_, opcode, r_dest.GetReg(), r_src.GetReg()); in OpFpRegCopy()
93 res = RawLIR(current_dalvik_offset_, opcode, r_src.GetReg(), r_dest.GetReg()); in OpFpRegCopy()
281 MipsOpCode opcode = kMipsNop; in OpReg() local
284 opcode = kMipsJalr; in OpReg()
292 return NewLIR2(opcode, cu_->target64 ? rRAd : rRA, r_dest_src.GetReg()); in OpReg()
305 MipsOpCode opcode = kMipsNop; in OpRegRegReg() local
309 opcode = is64bit ? kMips64Daddu : kMipsAddu; in OpRegRegReg()
312 opcode = is64bit ? kMips64Dsubu : kMipsSubu; in OpRegRegReg()
315 opcode = kMipsAnd; in OpRegRegReg()
318 opcode = isaIsR6_ ? kMipsR6Mul : kMipsR2Mul; in OpRegRegReg()
321 opcode = kMipsOr; in OpRegRegReg()
324 opcode = kMipsXor; in OpRegRegReg()
327 opcode = is64bit ? kMips64Dsllv : kMipsSllv; in OpRegRegReg()
330 opcode = is64bit ? kMips64Dsrlv : kMipsSrlv; in OpRegRegReg()
333 opcode = is64bit ? kMips64Dsrav : kMipsSrav; in OpRegRegReg()
343 return NewLIR3(opcode, r_dest.GetReg(), r_src1.GetReg(), r_src2.GetReg()); in OpRegRegReg()
348 MipsOpCode opcode = kMipsNop; in OpRegRegImm() local
355 opcode = is64bit ? kMips64Daddiu : kMipsAddiu; in OpRegRegImm()
358 opcode = is64bit ? kMips64Daddu : kMipsAddu; in OpRegRegImm()
364 opcode = is64bit ? kMips64Daddiu : kMipsAddiu; in OpRegRegImm()
367 opcode = is64bit ? kMips64Dsubu : kMipsSubu; in OpRegRegImm()
374 opcode = kMips64Dsll; in OpRegRegImm()
376 opcode = kMips64Dsll32; in OpRegRegImm()
381 opcode = kMipsSll; in OpRegRegImm()
388 opcode = kMips64Dsrl; in OpRegRegImm()
390 opcode = kMips64Dsrl32; in OpRegRegImm()
395 opcode = kMipsSrl; in OpRegRegImm()
402 opcode = kMips64Dsra; in OpRegRegImm()
404 opcode = kMips64Dsra32; in OpRegRegImm()
409 opcode = kMipsSra; in OpRegRegImm()
414 opcode = kMipsAndi; in OpRegRegImm()
417 opcode = kMipsAnd; in OpRegRegImm()
422 opcode = kMipsOri; in OpRegRegImm()
425 opcode = kMipsOr; in OpRegRegImm()
430 opcode = kMipsXori; in OpRegRegImm()
433 opcode = kMipsXor; in OpRegRegImm()
438 opcode = isaIsR6_ ? kMipsR6Mul : kMipsR2Mul; in OpRegRegImm()
446 res = NewLIR3(opcode, r_dest.GetReg(), r_src1.GetReg(), value); in OpRegRegImm()
450 NewLIR3(opcode, r_dest.GetReg(), r_src1.GetReg(), r_dest.GetReg()); in OpRegRegImm()
460 NewLIR3(opcode, r_dest.GetReg(), r_src1.GetReg(), r_scratch.GetReg()); in OpRegRegImm()
467 MipsOpCode opcode = kMipsNop; in OpRegReg() local
471 opcode = kMipsMove; in OpRegReg()
520 return NewLIR2(opcode, r_dest_src1.GetReg(), r_src2.GetReg()); in OpRegReg()
573 MipsOpCode opcode = kMipsNop; in LoadBaseIndexed() local
609 opcode = kMips64Ld; in LoadBaseIndexed()
615 opcode = kMipsFlwc1; in LoadBaseIndexed()
619 opcode = kMipsLw; in LoadBaseIndexed()
622 opcode = kMipsLhu; in LoadBaseIndexed()
625 opcode = kMipsLh; in LoadBaseIndexed()
628 opcode = kMipsLbu; in LoadBaseIndexed()
631 opcode = kMipsLb; in LoadBaseIndexed()
637 res = NewLIR3(opcode, r_dest.GetReg(), 0, t_reg.GetReg()); in LoadBaseIndexed()
646 MipsOpCode opcode = kMipsNop; in StoreBaseIndexed() local
668 opcode = kMipsFswc1; in StoreBaseIndexed()
672 opcode = kMipsSw; in StoreBaseIndexed()
676 opcode = kMipsSh; in StoreBaseIndexed()
680 opcode = kMipsSb; in StoreBaseIndexed()
685 NewLIR3(opcode, r_src.GetReg(), 0, t_reg.GetReg()); in StoreBaseIndexed()
703 MipsOpCode opcode = kMipsNop; in LoadBaseDispBody() local
713 opcode = kMips64Ld; in LoadBaseDispBody()
715 opcode = kMipsFldc1; in LoadBaseDispBody()
730 opcode = kMipsLw; in LoadBaseDispBody()
732 opcode = kMipsFlwc1; in LoadBaseDispBody()
742 opcode = kMipsLhu; in LoadBaseDispBody()
746 opcode = kMipsLh; in LoadBaseDispBody()
750 opcode = kMipsLbu; in LoadBaseDispBody()
753 opcode = kMipsLb; in LoadBaseDispBody()
761 load = res = NewLIR3(opcode, r_dest.GetReg(), displacement, r_base.GetReg()); in LoadBaseDispBody()
765 load = NewLIR3(opcode, r_dest.GetReg(), 0, r_tmp.GetReg()); in LoadBaseDispBody()
779 load = res = NewLIR3(opcode, r_dest.GetReg(), displacement, r_base.GetReg()); in LoadBaseDispBody()
783 load = res = NewLIR3(opcode, r_dest.GetLowReg(), displacement + LOWORD_OFFSET, in LoadBaseDispBody()
785 load2 = NewLIR3(opcode, r_dest.GetHighReg(), displacement + HIWORD_OFFSET, r_base.GetReg()); in LoadBaseDispBody()
802 load = NewLIR3(opcode, r_dest.GetReg(), 0, r_tmp.GetReg()); in LoadBaseDispBody()
810 load = NewLIR3(opcode, r_dest.GetLowReg(), LOWORD_OFFSET, r_tmp.GetReg()); in LoadBaseDispBody()
811 load2 = NewLIR3(opcode, r_dest.GetHighReg(), HIWORD_OFFSET, r_tmp.GetReg()); in LoadBaseDispBody()
880 MipsOpCode opcode = kMipsNop; in StoreBaseDispBody() local
890 opcode = kMips64Sd; in StoreBaseDispBody()
892 opcode = kMipsFsdc1; in StoreBaseDispBody()
907 opcode = kMipsSw; in StoreBaseDispBody()
909 opcode = kMipsFswc1; in StoreBaseDispBody()
920 opcode = kMipsSh; in StoreBaseDispBody()
925 opcode = kMipsSb; in StoreBaseDispBody()
933 store = res = NewLIR3(opcode, r_src.GetReg(), displacement, r_base.GetReg()); in StoreBaseDispBody()
937 store = NewLIR3(opcode, r_src.GetReg(), 0, r_scratch.GetReg()); in StoreBaseDispBody()
950 store = res = NewLIR3(opcode, r_src.GetReg(), displacement, r_base.GetReg()); in StoreBaseDispBody()
954 store = res = NewLIR3(opcode, r_src.GetLowReg(), displacement + LOWORD_OFFSET, in StoreBaseDispBody()
956 store2 = NewLIR3(opcode, r_src.GetHighReg(), displacement + HIWORD_OFFSET, r_base.GetReg()); in StoreBaseDispBody()
972 store = NewLIR3(opcode, r_src.GetReg(), 0, r_scratch.GetReg()); in StoreBaseDispBody()
976 store = NewLIR3(opcode, r_src.GetLowReg(), LOWORD_OFFSET, r_scratch.GetReg()); in StoreBaseDispBody()
977 store2 = NewLIR3(opcode, r_src.GetHighReg(), HIWORD_OFFSET, r_scratch.GetReg()); in StoreBaseDispBody()