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

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

Issue 951553005: [turbofan] remove dependence of InstructionBlock on BasicBlock (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/pipeline.cc ('k') | src/compiler/register-allocator.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 #include "src/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/compiler/code-generator-impl.h" 7 #include "src/compiler/code-generator-impl.h"
8 #include "src/compiler/gap-resolver.h" 8 #include "src/compiler/gap-resolver.h"
9 #include "src/compiler/node-matchers.h" 9 #include "src/compiler/node-matchers.h"
10 #include "src/ppc/macro-assembler-ppc.h" 10 #include "src/ppc/macro-assembler-ppc.h"
(...skipping 998 matching lines...) Expand 10 before | Expand all | Expand 10 after
1009 } else if (cond == gt) { 1009 } else if (cond == gt) {
1010 __ bunordered(tlabel, cr); 1010 __ bunordered(tlabel, cr);
1011 // Unnecessary for ne/ge since only FU bit will be set. 1011 // Unnecessary for ne/ge since only FU bit will be set.
1012 } 1012 }
1013 } 1013 }
1014 __ b(cond, tlabel, cr); 1014 __ b(cond, tlabel, cr);
1015 if (!branch->fallthru) __ b(flabel); // no fallthru to flabel. 1015 if (!branch->fallthru) __ b(flabel); // no fallthru to flabel.
1016 } 1016 }
1017 1017
1018 1018
1019 void CodeGenerator::AssembleArchJump(BasicBlock::RpoNumber target) { 1019 void CodeGenerator::AssembleArchJump(RpoNumber target) {
1020 if (!IsNextInAssemblyOrder(target)) __ b(GetLabel(target)); 1020 if (!IsNextInAssemblyOrder(target)) __ b(GetLabel(target));
1021 } 1021 }
1022 1022
1023 1023
1024 // Assembles boolean materializations after an instruction. 1024 // Assembles boolean materializations after an instruction.
1025 void CodeGenerator::AssembleArchBoolean(Instruction* instr, 1025 void CodeGenerator::AssembleArchBoolean(Instruction* instr,
1026 FlagsCondition condition) { 1026 FlagsCondition condition) {
1027 PPCOperandConverter i(this, instr); 1027 PPCOperandConverter i(this, instr);
1028 Label done; 1028 Label done;
1029 ArchOpcode op = instr->arch_opcode(); 1029 ArchOpcode op = instr->arch_opcode();
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
1398 } 1398 }
1399 } 1399 }
1400 MarkLazyDeoptSite(); 1400 MarkLazyDeoptSite();
1401 } 1401 }
1402 1402
1403 #undef __ 1403 #undef __
1404 1404
1405 } // namespace compiler 1405 } // namespace compiler
1406 } // namespace internal 1406 } // namespace internal
1407 } // namespace v8 1407 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/pipeline.cc ('k') | src/compiler/register-allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698