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

Side by Side Diff: src/compiler/arm64/code-generator-arm64.cc

Issue 1375253002: [WIP][turbofan] Instruction scheduler for Turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed issues and add support for a few other platforms. Created 5 years 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
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 #include "src/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/arm64/frames-arm64.h" 7 #include "src/arm64/frames-arm64.h"
8 #include "src/arm64/macro-assembler-arm64.h" 8 #include "src/arm64/macro-assembler-arm64.h"
9 #include "src/compiler/code-generator-impl.h" 9 #include "src/compiler/code-generator-impl.h"
10 #include "src/compiler/gap-resolver.h" 10 #include "src/compiler/gap-resolver.h"
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 case kArchJmp: 578 case kArchJmp:
579 AssembleArchJump(i.InputRpo(0)); 579 AssembleArchJump(i.InputRpo(0));
580 break; 580 break;
581 case kArchTableSwitch: 581 case kArchTableSwitch:
582 AssembleArchTableSwitch(instr); 582 AssembleArchTableSwitch(instr);
583 break; 583 break;
584 case kArchLookupSwitch: 584 case kArchLookupSwitch:
585 AssembleArchLookupSwitch(instr); 585 AssembleArchLookupSwitch(instr);
586 break; 586 break;
587 case kArchNop: 587 case kArchNop:
588 case kArchThrowTerminator:
588 // don't emit code for nops. 589 // don't emit code for nops.
589 break; 590 break;
590 case kArchDeoptimize: { 591 case kArchDeoptimize: {
591 int deopt_state_id = 592 int deopt_state_id =
592 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 593 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
593 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); 594 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER);
594 break; 595 break;
595 } 596 }
596 case kArchRet: 597 case kArchRet:
597 AssembleReturn(); 598 AssembleReturn();
(...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after
1544 padding_size -= kInstructionSize; 1545 padding_size -= kInstructionSize;
1545 } 1546 }
1546 } 1547 }
1547 } 1548 }
1548 1549
1549 #undef __ 1550 #undef __
1550 1551
1551 } // namespace compiler 1552 } // namespace compiler
1552 } // namespace internal 1553 } // namespace internal
1553 } // namespace v8 1554 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698