OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 5 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/compiler/common-operator.h" | 9 #include "src/compiler/common-operator.h" |
10 #include "src/compiler/graph.h" | 10 #include "src/compiler/graph.h" |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 } | 320 } |
321 Node* Uint64Div(Node* a, Node* b) { | 321 Node* Uint64Div(Node* a, Node* b) { |
322 return AddNode(machine()->Uint64Div(), a, b); | 322 return AddNode(machine()->Uint64Div(), a, b); |
323 } | 323 } |
324 Node* Uint64Mod(Node* a, Node* b) { | 324 Node* Uint64Mod(Node* a, Node* b) { |
325 return AddNode(machine()->Uint64Mod(), a, b); | 325 return AddNode(machine()->Uint64Mod(), a, b); |
326 } | 326 } |
327 Node* Int32PairAdd(Node* a_low, Node* a_high, Node* b_low, Node* b_high) { | 327 Node* Int32PairAdd(Node* a_low, Node* a_high, Node* b_low, Node* b_high) { |
328 return AddNode(machine()->Int32PairAdd(), a_low, a_high, b_low, b_high); | 328 return AddNode(machine()->Int32PairAdd(), a_low, a_high, b_low, b_high); |
329 } | 329 } |
| 330 Node* Int32PairSub(Node* a_low, Node* a_high, Node* b_low, Node* b_high) { |
| 331 return AddNode(machine()->Int32PairSub(), a_low, a_high, b_low, b_high); |
| 332 } |
330 Node* Word32PairShl(Node* low_word, Node* high_word, Node* shift) { | 333 Node* Word32PairShl(Node* low_word, Node* high_word, Node* shift) { |
331 return AddNode(machine()->Word32PairShl(), low_word, high_word, shift); | 334 return AddNode(machine()->Word32PairShl(), low_word, high_word, shift); |
332 } | 335 } |
333 Node* Word32PairShr(Node* low_word, Node* high_word, Node* shift) { | 336 Node* Word32PairShr(Node* low_word, Node* high_word, Node* shift) { |
334 return AddNode(machine()->Word32PairShr(), low_word, high_word, shift); | 337 return AddNode(machine()->Word32PairShr(), low_word, high_word, shift); |
335 } | 338 } |
336 Node* Word32PairSar(Node* low_word, Node* high_word, Node* shift) { | 339 Node* Word32PairSar(Node* low_word, Node* high_word, Node* shift) { |
337 return AddNode(machine()->Word32PairSar(), low_word, high_word, shift); | 340 return AddNode(machine()->Word32PairSar(), low_word, high_word, shift); |
338 } | 341 } |
339 | 342 |
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
725 bool deferred_; | 728 bool deferred_; |
726 friend class RawMachineAssembler; | 729 friend class RawMachineAssembler; |
727 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); | 730 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); |
728 }; | 731 }; |
729 | 732 |
730 } // namespace compiler | 733 } // namespace compiler |
731 } // namespace internal | 734 } // namespace internal |
732 } // namespace v8 | 735 } // namespace v8 |
733 | 736 |
734 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 737 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
OLD | NEW |