OLD | NEW |
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 772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
783 // Use either movsd or movlpd. | 783 // Use either movsd or movlpd. |
784 void movdbl(XMMRegister dst, const Operand& src); | 784 void movdbl(XMMRegister dst, const Operand& src); |
785 void movdbl(const Operand& dst, XMMRegister src); | 785 void movdbl(const Operand& dst, XMMRegister src); |
786 | 786 |
787 void movd(XMMRegister dst, const Operand& src); | 787 void movd(XMMRegister dst, const Operand& src); |
788 void movsd(XMMRegister dst, XMMRegister src); | 788 void movsd(XMMRegister dst, XMMRegister src); |
789 | 789 |
790 void pxor(XMMRegister dst, XMMRegister src); | 790 void pxor(XMMRegister dst, XMMRegister src); |
791 void ptest(XMMRegister dst, XMMRegister src); | 791 void ptest(XMMRegister dst, XMMRegister src); |
792 | 792 |
| 793 // Parallel XMM operations. |
| 794 void movntdqa(XMMRegister src, const Operand& dst); |
| 795 void movntdq(const Operand& dst, XMMRegister src); |
| 796 // Prefetch src position into cache level. |
| 797 // Level 1, 2 or 3 specifies CPU cache level. Level 0 specifies a |
| 798 // non-temporal |
| 799 void prefetch(const Operand& src, int level); |
| 800 // TODO(lrn): Need SFENCE for movnt? |
| 801 |
793 // Debugging | 802 // Debugging |
794 void Print(); | 803 void Print(); |
795 | 804 |
796 // Check the code size generated from label to here. | 805 // Check the code size generated from label to here. |
797 int SizeOfCodeGeneratedSince(Label* l) { return pc_offset() - l->pos(); } | 806 int SizeOfCodeGeneratedSince(Label* l) { return pc_offset() - l->pos(); } |
798 | 807 |
799 // Mark address of the ExitJSFrame code. | 808 // Mark address of the ExitJSFrame code. |
800 void RecordJSReturn(); | 809 void RecordJSReturn(); |
801 | 810 |
802 // Record a comment relocation entry that can be used by a disassembler. | 811 // Record a comment relocation entry that can be used by a disassembler. |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
932 private: | 941 private: |
933 Assembler* assembler_; | 942 Assembler* assembler_; |
934 #ifdef DEBUG | 943 #ifdef DEBUG |
935 int space_before_; | 944 int space_before_; |
936 #endif | 945 #endif |
937 }; | 946 }; |
938 | 947 |
939 } } // namespace v8::internal | 948 } } // namespace v8::internal |
940 | 949 |
941 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 950 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
OLD | NEW |