Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1083)

Side by Side Diff: src/ia32/assembler-ia32.h

Issue 3327022: Custom call IC for Math.floor. (Closed)
Patch Set: Oops, forgot to upload the test Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
781 void cvtsi2sd(XMMRegister dst, const Operand& src); 781 void cvtsi2sd(XMMRegister dst, const Operand& src);
782 void cvtss2sd(XMMRegister dst, XMMRegister src); 782 void cvtss2sd(XMMRegister dst, XMMRegister src);
783 783
784 void addsd(XMMRegister dst, XMMRegister src); 784 void addsd(XMMRegister dst, XMMRegister src);
785 void subsd(XMMRegister dst, XMMRegister src); 785 void subsd(XMMRegister dst, XMMRegister src);
786 void mulsd(XMMRegister dst, XMMRegister src); 786 void mulsd(XMMRegister dst, XMMRegister src);
787 void divsd(XMMRegister dst, XMMRegister src); 787 void divsd(XMMRegister dst, XMMRegister src);
788 void xorpd(XMMRegister dst, XMMRegister src); 788 void xorpd(XMMRegister dst, XMMRegister src);
789 void sqrtsd(XMMRegister dst, XMMRegister src); 789 void sqrtsd(XMMRegister dst, XMMRegister src);
790 790
791 void andpd(XMMRegister dst, const Operand& src);
792
791 void ucomisd(XMMRegister dst, XMMRegister src); 793 void ucomisd(XMMRegister dst, XMMRegister src);
792 void movmskpd(Register dst, XMMRegister src); 794 void movmskpd(Register dst, XMMRegister src);
793 795
796 void cmpltsd(XMMRegister dst, XMMRegister src);
797
798 void movaps(XMMRegister dst, const Operand& src);
799
794 void movdqa(XMMRegister dst, const Operand& src); 800 void movdqa(XMMRegister dst, const Operand& src);
795 void movdqa(const Operand& dst, XMMRegister src); 801 void movdqa(const Operand& dst, XMMRegister src);
796 void movdqu(XMMRegister dst, const Operand& src); 802 void movdqu(XMMRegister dst, const Operand& src);
797 void movdqu(const Operand& dst, XMMRegister src); 803 void movdqu(const Operand& dst, XMMRegister src);
798 804
799 // Use either movsd or movlpd. 805 // Use either movsd or movlpd.
800 void movdbl(XMMRegister dst, const Operand& src); 806 void movdbl(XMMRegister dst, const Operand& src);
801 void movdbl(const Operand& dst, XMMRegister src); 807 void movdbl(const Operand& dst, XMMRegister src);
802 808
803 void movd(XMMRegister dst, const Operand& src); 809 void movd(XMMRegister dst, const Operand& src);
804 void movsd(XMMRegister dst, XMMRegister src); 810 void movsd(XMMRegister dst, XMMRegister src);
805 811
806 void pxor(XMMRegister dst, XMMRegister src); 812 void pxor(XMMRegister dst, XMMRegister src);
807 void ptest(XMMRegister dst, XMMRegister src); 813 void ptest(XMMRegister dst, XMMRegister src);
808 814
815 void psllq(XMMRegister reg, int8_t imm8);
816
809 // Parallel XMM operations. 817 // Parallel XMM operations.
810 void movntdqa(XMMRegister src, const Operand& dst); 818 void movntdqa(XMMRegister src, const Operand& dst);
811 void movntdq(const Operand& dst, XMMRegister src); 819 void movntdq(const Operand& dst, XMMRegister src);
812 // Prefetch src position into cache level. 820 // Prefetch src position into cache level.
813 // Level 1, 2 or 3 specifies CPU cache level. Level 0 specifies a 821 // Level 1, 2 or 3 specifies CPU cache level. Level 0 specifies a
814 // non-temporal 822 // non-temporal
815 void prefetch(const Operand& src, int level); 823 void prefetch(const Operand& src, int level);
816 // TODO(lrn): Need SFENCE for movnt? 824 // TODO(lrn): Need SFENCE for movnt?
817 825
818 // Debugging 826 // Debugging
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
962 private: 970 private:
963 Assembler* assembler_; 971 Assembler* assembler_;
964 #ifdef DEBUG 972 #ifdef DEBUG
965 int space_before_; 973 int space_before_;
966 #endif 974 #endif
967 }; 975 };
968 976
969 } } // namespace v8::internal 977 } } // namespace v8::internal
970 978
971 #endif // V8_IA32_ASSEMBLER_IA32_H_ 979 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/ia32/assembler-ia32.cc » ('j') | src/ia32/disasm-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698