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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 Node* Uint64GreaterThan(Node* a, Node* b) { return Uint64LessThan(b, a); } | 317 Node* Uint64GreaterThan(Node* a, Node* b) { return Uint64LessThan(b, a); } |
318 Node* Uint64GreaterThanOrEqual(Node* a, Node* b) { | 318 Node* Uint64GreaterThanOrEqual(Node* a, Node* b) { |
319 return Uint64LessThanOrEqual(b, a); | 319 return Uint64LessThanOrEqual(b, a); |
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) { |
| 328 return AddNode(machine()->Int32PairAdd(), a_low, a_high, b_low, b_high); |
| 329 } |
327 Node* Word32PairShl(Node* low_word, Node* high_word, Node* shift) { | 330 Node* Word32PairShl(Node* low_word, Node* high_word, Node* shift) { |
328 return AddNode(machine()->Word32PairShl(), low_word, high_word, shift); | 331 return AddNode(machine()->Word32PairShl(), low_word, high_word, shift); |
329 } | 332 } |
330 Node* Word32PairShr(Node* low_word, Node* high_word, Node* shift) { | 333 Node* Word32PairShr(Node* low_word, Node* high_word, Node* shift) { |
331 return AddNode(machine()->Word32PairShr(), low_word, high_word, shift); | 334 return AddNode(machine()->Word32PairShr(), low_word, high_word, shift); |
332 } | 335 } |
333 Node* Word32PairSar(Node* low_word, Node* high_word, Node* shift) { | 336 Node* Word32PairSar(Node* low_word, Node* high_word, Node* shift) { |
334 return AddNode(machine()->Word32PairSar(), low_word, high_word, shift); | 337 return AddNode(machine()->Word32PairSar(), low_word, high_word, shift); |
335 } | 338 } |
336 | 339 |
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
722 bool deferred_; | 725 bool deferred_; |
723 friend class RawMachineAssembler; | 726 friend class RawMachineAssembler; |
724 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); | 727 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); |
725 }; | 728 }; |
726 | 729 |
727 } // namespace compiler | 730 } // namespace compiler |
728 } // namespace internal | 731 } // namespace internal |
729 } // namespace v8 | 732 } // namespace v8 |
730 | 733 |
731 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 734 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
OLD | NEW |