Home | History | Annotate | Download | only in x87

Lines Matching refs:Operand

303   friend class Operand;
324 class Operand BASE_EMBEDDED {
327 INLINE(explicit Operand(Register reg));
330 INLINE(explicit Operand(int32_t disp, RelocInfo::Mode rmode));
333 INLINE(explicit Operand(Immediate imm));
336 explicit Operand(Register base, int32_t disp,
340 explicit Operand(Register base,
347 explicit Operand(Register index,
352 static Operand JumpTable(Register index, ScaleFactor scale, Label* table) {
353 return Operand(index, scale, reinterpret_cast<int32_t>(table),
357 static Operand StaticVariable(const ExternalReference& ext) {
358 return Operand(reinterpret_cast<int32_t>(ext.address()),
362 static Operand StaticArray(Register index,
365 return Operand(index, scale, reinterpret_cast<int32_t>(arr.address()),
369 static Operand ForCell(Handle<Cell> cell) {
371 return Operand(reinterpret_cast<int32_t>(cell.location()),
375 static Operand ForRegisterPlusImmediate(Register base, Immediate imm) {
376 return Operand(base, imm.x_, imm.rmode_);
379 // Returns true if this Operand is a wrapper for the specified register.
382 // Returns true if this Operand is a wrapper for one register.
385 // Asserts that this Operand is a wrapper for one register and returns the
564 // can in some cases be replaced with an Operand(Register) argument.
567 // Operand is possible, or should we have a Register (overloaded) form
593 void push(const Operand& src);
596 void pop(const Operand& dst);
602 void mov_b(Register dst, Register src) { mov_b(dst, Operand(src)); }
603 void mov_b(Register dst, const Operand& src);
604 void mov_b(Register dst, int8_t imm8) { mov_b(Operand(dst), imm8); }
605 void mov_b(const Operand& dst, int8_t imm8);
606 void mov_b(const Operand& dst, const Immediate& src);
607 void mov_b(const Operand& dst, Register src);
609 void mov_w(Register dst, const Operand& src);
610 void mov_w(const Operand& dst, Register src);
611 void mov_w(const Operand& dst, int16_t imm16);
612 void mov_w(const Operand& dst, const Immediate& src);
618 void mov(Register dst, const Operand& src);
620 void mov(const Operand& dst, const Immediate& x);
621 void mov(const Operand& dst, Handle<Object> handle);
622 void mov(const Operand& dst, Register src);
624 void movsx_b(Register dst, Register src) { movsx_b(dst, Operand(src)); }
625 void movsx_b(Register dst, const Operand& src);
627 void movsx_w(Register dst, Register src) { movsx_w(dst, Operand(src)); }
628 void movsx_w(Register dst, const Operand& src);
630 void movzx_b(Register dst, Register src) { movzx_b(dst, Operand(src)); }
631 void movzx_b(Register dst, const Operand& src);
633 void movzx_w(Register dst, Register src) { movzx_w(dst, Operand(src)); }
634 void movzx_w(Register dst, const Operand& src);
646 void xchg(Register dst, const Operand& src);
647 void xchg_b(Register reg, const Operand& op);
648 void xchg_w(Register reg, const Operand& op);
654 void cmpxchg(const Operand& dst, Register src);
655 void cmpxchg_b(const Operand& dst, Register src);
656 void cmpxchg_w(const Operand& dst, Register src);
660 void adc(Register dst, const Operand& src);
662 void add(Register dst, Register src) { add(dst, Operand(src)); }
663 void add(Register dst, const Operand& src);
664 void add(const Operand& dst, Register src);
665 void add(Register dst, const Immediate& imm) { add(Operand(dst), imm); }
666 void add(const Operand& dst, const Immediate& x);
670 void and_(Register dst, Register src) { and_(dst, Operand(src)); }
671 void and_(Register dst, const Operand& src);
672 void and_(const Operand& dst, Register src);
673 void and_(const Operand& dst, const Immediate& x);
675 void cmpb(Register reg, Immediate imm8) { cmpb(Operand(reg), imm8); }
676 void cmpb(const Operand& op, Immediate imm8);
677 void cmpb(Register reg, const Operand& op);
678 void cmpb(const Operand& op, Register reg);
679 void cmpb(Register dst, Register src) { cmpb(Operand(dst), src); }
680 void cmpb_al(const Operand& op);
681 void cmpw_ax(const Operand& op);
682 void cmpw(const Operand& dst, Immediate src);
683 void cmpw(Register dst, Immediate src) { cmpw(Operand(dst), src); }
684 void cmpw(Register dst, const Operand& src);
685 void cmpw(Register dst, Register src) { cmpw(Operand(dst), src); }
686 void cmpw(const Operand& dst, Register src);
689 void cmp(Register reg0, Register reg1) { cmp(reg0, Operand(reg1)); }
690 void cmp(Register reg, const Operand& op);
691 void cmp(Register reg, const Immediate& imm) { cmp(Operand(reg), imm); }
692 void cmp(const Operand& op, Register reg);
693 void cmp(const Operand& op, const Immediate& imm);
694 void cmp(const Operand& op, Handle<Object> handle);
697 void dec_b(const Operand& dst);
700 void dec(const Operand& dst);
704 void idiv(Register src) { idiv(Operand(src)); }
705 void idiv(const Operand& src);
706 void div(Register src) { div(Operand(src)); }
707 void div(const Operand& src);
711 void imul(Register dst, Register src) { imul(dst, Operand(src)); }
712 void imul(Register dst, const Operand& src); // dst = dst * src.
714 void imul(Register dst, const Operand& src, int32_t imm32);
717 void inc(const Operand& dst);
719 void lea(Register dst, const Operand& src);
725 void neg(const Operand& dst);
728 void not_(const Operand& dst);
731 void or_(Register dst, Register src) { or_(dst, Operand(src)); }
732 void or_(Register dst, const Operand& src);
733 void or_(const Operand& dst, Register src);
734 void or_(Register dst, const Immediate& imm) { or_(Operand(dst), imm); }
735 void or_(const Operand& dst, const Immediate& x);
740 void ror(Register dst, uint8_t imm8) { ror(Operand(dst), imm8); }
741 void ror(const Operand& dst, uint8_t imm8);
742 void ror_cl(Register dst) { ror_cl(Operand(dst)); }
743 void ror_cl(const Operand& dst);
745 void sar(Register dst, uint8_t imm8) { sar(Operand(dst), imm8); }
746 void sar(const Operand& dst, uint8_t imm8);
747 void sar_cl(Register dst) { sar_cl(Operand(dst)); }
748 void sar_cl(const Operand& dst);
750 void sbb(Register dst, const Operand& src);
752 void shl(Register dst, uint8_t imm8) { shl(Operand(dst), imm8); }
753 void shl(const Operand& dst, uint8_t imm8);
754 void shl_cl(Register dst) { shl_cl(Operand(dst)); }
755 void shl_cl(const Operand& dst);
759 void shr(Register dst, uint8_t imm8) { shr(Operand(dst), imm8); }
760 void shr(const Operand& dst, uint8_t imm8);
761 void shr_cl(Register dst) { shr_cl(Operand(dst)); }
762 void shr_cl(const Operand& dst);
764 void shrd_cl(Register dst, Register src) { shrd_cl(Operand(dst), src); }
765 void shrd_cl(const Operand& dst, Register src);
767 void sub(Register dst, const Immediate& imm) { sub(Operand(dst), imm); }
768 void sub(const Operand& dst, const Immediate& x);
769 void sub(Register dst, Register src) { sub(dst, Operand(src)); }
770 void sub(Register dst, const Operand& src);
771 void sub(const Operand& dst, Register src);
774 void test(Register reg0, Register reg1) { test(reg0, Operand(reg1)); }
775 void test(Register reg, const Operand& op);
776 void test(const Operand& op, const Immediate& imm);
777 void test(const Operand& op, Register reg) { test(reg, op); }
778 void test_b(Register reg, const Operand& op);
780 void test_b(const Operand& op, Immediate imm8);
781 void test_b(const Operand& op, Register reg) { test_b(reg, op); }
782 void test_b(Register dst, Register src) { test_b(dst, Operand(src)); }
783 void test_w(Register reg, const Operand& op);
785 void test_w(const Operand& op, Immediate imm16);
786 void test_w(const Operand& op, Register reg) { test_w(reg, op); }
787 void test_w(Register dst, Register src) { test_w(dst, Operand(src)); }
790 void xor_(Register dst, Register src) { xor_(dst, Operand(src)); }
791 void xor_(Register dst, const Operand& src);
792 void xor_(const Operand& dst, Register src);
793 void xor_(Register dst, const Immediate& imm) { xor_(Operand(dst), imm); }
794 void xor_(const Operand& dst, const Immediate& x);
797 void bt(const Operand& dst, Register src);
798 void bts(Register dst, Register src) { bts(Operand(dst), src); }
799 void bts(const Operand& dst, Register src);
800 void bsr(Register dst, Register src) { bsr(dst, Operand(src)); }
801 void bsr(Register dst, const Operand& src);
802 void bsf(Register dst, Register src) { bsf(dst, Operand(src)); }
803 void bsf(Register dst, const Operand& src);
832 int CallSize(const Operand& adr);
833 void call(Register reg) { call(Operand(reg)); }
834 void call(const Operand& adr);
844 void jmp(Register reg) { jmp(Operand(reg)); }
845 void jmp(const Operand& adr);
865 void fld_s(const Operand& adr);
866 void fld_d(const Operand& adr);
868 void fstp_s(const Operand& adr);
869 void fst_s(const Operand& adr);
870 void fstp_d(const Operand& adr);
871 void fst_d(const Operand& adr);
873 void fild_s(const Operand& adr);
874 void fild_d(const Operand& adr);
876 void fist_s(const Operand& adr);
878 void fistp_s(const Operand& adr);
879 void fistp_d(const Operand& adr);
882 void fisttp_s(const Operand& adr);
883 void fisttp_d(const Operand& adr);
898 void fadd_d(const Operand& adr);
901 void fsub_d(const Operand& adr);
902 void fsubr_d(const Operand& adr);
904 void fmul_d(const Operand& adr);
907 void fdiv_d(const Operand& adr);
908 void fdivr_d(const Operand& adr);
911 void fisub_s(const Operand& adr);
934 void fldcw(const Operand& adr);
935 void fnstcw(const Operand& adr);
938 void fnsave(const Operand& adr);
939 void frstor(const Operand& adr);
1038 // with a given destination expression and an immediate operand. It attempts
1041 void emit_arith(int sel, Operand dst, const Immediate& x);
1043 void emit_operand(Register reg, const Operand& adr);