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 1026 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1037 | 1037 |
1038 // Parallel XMM operations. | 1038 // Parallel XMM operations. |
1039 void movntdqa(XMMRegister dst, const Operand& src); | 1039 void movntdqa(XMMRegister dst, const Operand& src); |
1040 void movntdq(const Operand& dst, XMMRegister src); | 1040 void movntdq(const Operand& dst, XMMRegister src); |
1041 // Prefetch src position into cache level. | 1041 // Prefetch src position into cache level. |
1042 // Level 1, 2 or 3 specifies CPU cache level. Level 0 specifies a | 1042 // Level 1, 2 or 3 specifies CPU cache level. Level 0 specifies a |
1043 // non-temporal | 1043 // non-temporal |
1044 void prefetch(const Operand& src, int level); | 1044 void prefetch(const Operand& src, int level); |
1045 // TODO(lrn): Need SFENCE for movnt? | 1045 // TODO(lrn): Need SFENCE for movnt? |
1046 | 1046 |
1047 // Debugging | |
1048 void Print(); | |
1049 | |
1050 // Check the code size generated from label to here. | 1047 // Check the code size generated from label to here. |
1051 int SizeOfCodeGeneratedSince(Label* label) { | 1048 int SizeOfCodeGeneratedSince(Label* label) { |
1052 return pc_offset() - label->pos(); | 1049 return pc_offset() - label->pos(); |
1053 } | 1050 } |
1054 | 1051 |
1055 // Mark address of the ExitJSFrame code. | 1052 // Mark address of the ExitJSFrame code. |
1056 void RecordJSReturn(); | 1053 void RecordJSReturn(); |
1057 | 1054 |
1058 // Mark address of a debug break slot. | 1055 // Mark address of a debug break slot. |
1059 void RecordDebugBreakSlot(); | 1056 void RecordDebugBreakSlot(); |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1191 private: | 1188 private: |
1192 Assembler* assembler_; | 1189 Assembler* assembler_; |
1193 #ifdef DEBUG | 1190 #ifdef DEBUG |
1194 int space_before_; | 1191 int space_before_; |
1195 #endif | 1192 #endif |
1196 }; | 1193 }; |
1197 | 1194 |
1198 } } // namespace v8::internal | 1195 } } // namespace v8::internal |
1199 | 1196 |
1200 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 1197 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
OLD | NEW |