OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 | 122 |
123 void X87Mov(X87Register reg, Operand src, | 123 void X87Mov(X87Register reg, Operand src, |
124 X87OperandType operand = kX87DoubleOperand); | 124 X87OperandType operand = kX87DoubleOperand); |
125 void X87Mov(Operand src, X87Register reg, | 125 void X87Mov(Operand src, X87Register reg, |
126 X87OperandType operand = kX87DoubleOperand); | 126 X87OperandType operand = kX87DoubleOperand); |
127 | 127 |
128 void X87PrepareBinaryOp( | 128 void X87PrepareBinaryOp( |
129 X87Register left, X87Register right, X87Register result); | 129 X87Register left, X87Register right, X87Register result); |
130 | 130 |
131 void X87LoadForUsage(X87Register reg); | 131 void X87LoadForUsage(X87Register reg); |
| 132 void X87LoadForUsage(X87Register reg1, X87Register reg2); |
132 void X87PrepareToWrite(X87Register reg) { x87_stack_.PrepareToWrite(reg); } | 133 void X87PrepareToWrite(X87Register reg) { x87_stack_.PrepareToWrite(reg); } |
133 void X87CommitWrite(X87Register reg) { x87_stack_.CommitWrite(reg); } | 134 void X87CommitWrite(X87Register reg) { x87_stack_.CommitWrite(reg); } |
134 | 135 |
135 void X87Fxch(X87Register reg, int other_slot = 0) { | 136 void X87Fxch(X87Register reg, int other_slot = 0) { |
136 x87_stack_.Fxch(reg, other_slot); | 137 x87_stack_.Fxch(reg, other_slot); |
137 } | 138 } |
138 | 139 |
139 bool X87StackEmpty() { | 140 bool X87StackEmpty() { |
140 return x87_stack_.depth() == 0; | 141 return x87_stack_.depth() == 0; |
141 } | 142 } |
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
567 Label exit_; | 568 Label exit_; |
568 Label* external_exit_; | 569 Label* external_exit_; |
569 Label done_; | 570 Label done_; |
570 int instruction_index_; | 571 int instruction_index_; |
571 LCodeGen::X87Stack x87_stack_; | 572 LCodeGen::X87Stack x87_stack_; |
572 }; | 573 }; |
573 | 574 |
574 } } // namespace v8::internal | 575 } } // namespace v8::internal |
575 | 576 |
576 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 577 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |