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

Side by Side Diff: src/compiler/arm/code-generator-arm.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, 1 month 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/arm/macro-assembler-arm.h" 7 #include "src/arm/macro-assembler-arm.h"
8 #include "src/compiler/code-generator-impl.h" 8 #include "src/compiler/code-generator-impl.h"
9 #include "src/compiler/gap-resolver.h" 9 #include "src/compiler/gap-resolver.h"
10 #include "src/compiler/node-matchers.h" 10 #include "src/compiler/node-matchers.h"
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 break; 475 break;
476 case kArchLookupSwitch: 476 case kArchLookupSwitch:
477 AssembleArchLookupSwitch(instr); 477 AssembleArchLookupSwitch(instr);
478 DCHECK_EQ(LeaveCC, i.OutputSBit()); 478 DCHECK_EQ(LeaveCC, i.OutputSBit());
479 break; 479 break;
480 case kArchTableSwitch: 480 case kArchTableSwitch:
481 AssembleArchTableSwitch(instr); 481 AssembleArchTableSwitch(instr);
482 DCHECK_EQ(LeaveCC, i.OutputSBit()); 482 DCHECK_EQ(LeaveCC, i.OutputSBit());
483 break; 483 break;
484 case kArchNop: 484 case kArchNop:
485 case kArchThrowTerminator:
485 // don't emit code for nops. 486 // don't emit code for nops.
486 DCHECK_EQ(LeaveCC, i.OutputSBit()); 487 DCHECK_EQ(LeaveCC, i.OutputSBit());
487 break; 488 break;
488 case kArchDeoptimize: { 489 case kArchDeoptimize: {
489 int deopt_state_id = 490 int deopt_state_id =
490 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 491 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
491 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); 492 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER);
492 break; 493 break;
493 } 494 }
494 case kArchRet: 495 case kArchRet:
(...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after
1352 padding_size -= v8::internal::Assembler::kInstrSize; 1353 padding_size -= v8::internal::Assembler::kInstrSize;
1353 } 1354 }
1354 } 1355 }
1355 } 1356 }
1356 1357
1357 #undef __ 1358 #undef __
1358 1359
1359 } // namespace compiler 1360 } // namespace compiler
1360 } // namespace internal 1361 } // namespace internal
1361 } // namespace v8 1362 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/arm/instruction-scheduler-arm.cc » ('j') | src/compiler/instruction-scheduler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698