Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Side by Side Diff: src/compiler/raw-machine-assembler.h

Issue 974313002: [turbofan] Support for %_DoubleHi, %_DoubleLo and %_ConstructDouble. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed Svens comment. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/compiler/common-operator.h" 8 #include "src/compiler/common-operator.h"
9 #include "src/compiler/graph-builder.h" 9 #include "src/compiler/graph-builder.h"
10 #include "src/compiler/linkage.h" 10 #include "src/compiler/linkage.h"
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 } 386 }
387 Node* Float64Floor(Node* a) { return NewNode(machine()->Float64Floor(), a); } 387 Node* Float64Floor(Node* a) { return NewNode(machine()->Float64Floor(), a); }
388 Node* Float64Ceil(Node* a) { return NewNode(machine()->Float64Ceil(), a); } 388 Node* Float64Ceil(Node* a) { return NewNode(machine()->Float64Ceil(), a); }
389 Node* Float64RoundTruncate(Node* a) { 389 Node* Float64RoundTruncate(Node* a) {
390 return NewNode(machine()->Float64RoundTruncate(), a); 390 return NewNode(machine()->Float64RoundTruncate(), a);
391 } 391 }
392 Node* Float64RoundTiesAway(Node* a) { 392 Node* Float64RoundTiesAway(Node* a) {
393 return NewNode(machine()->Float64RoundTiesAway(), a); 393 return NewNode(machine()->Float64RoundTiesAway(), a);
394 } 394 }
395 395
396 // Float64 bit operations.
397 Node* Float64ExtractLowWord32(Node* a) {
398 return NewNode(machine()->Float64ExtractLowWord32(), a);
399 }
400 Node* Float64ExtractHighWord32(Node* a) {
401 return NewNode(machine()->Float64ExtractHighWord32(), a);
402 }
403 Node* Float64InsertLowWord32(Node* a, Node* b) {
404 return NewNode(machine()->Float64InsertLowWord32(), a, b);
405 }
406 Node* Float64InsertHighWord32(Node* a, Node* b) {
407 return NewNode(machine()->Float64InsertHighWord32(), a, b);
408 }
409
396 // Parameters. 410 // Parameters.
397 Node* Parameter(size_t index); 411 Node* Parameter(size_t index);
398 412
399 // Control flow. 413 // Control flow.
400 Label* Exit(); 414 Label* Exit();
401 void Goto(Label* label); 415 void Goto(Label* label);
402 void Branch(Node* condition, Label* true_val, Label* false_val); 416 void Branch(Node* condition, Label* true_val, Label* false_val);
403 void Switch(Node* index, Label* default_label, int32_t* case_values, 417 void Switch(Node* index, Label* default_label, int32_t* case_values,
404 Label** case_labels, size_t case_count); 418 Label** case_labels, size_t case_count);
405 // Call through CallFunctionStub with lazy deopt and frame-state. 419 // Call through CallFunctionStub with lazy deopt and frame-state.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 BasicBlock* current_block_; 469 BasicBlock* current_block_;
456 470
457 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); 471 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler);
458 }; 472 };
459 473
460 } // namespace compiler 474 } // namespace compiler
461 } // namespace internal 475 } // namespace internal
462 } // namespace v8 476 } // namespace v8
463 477
464 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 478 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698