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

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

Issue 1006523002: MIPS: Improve naming of turbofan ops for %_DoubleHi, %_DoubleLo and %_ConstructDouble. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « no previous file | src/compiler/mips/instruction-codes-mips.h » ('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 #include "src/compiler/code-generator-impl.h" 6 #include "src/compiler/code-generator-impl.h"
7 #include "src/compiler/gap-resolver.h" 7 #include "src/compiler/gap-resolver.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/mips/macro-assembler-mips.h" 9 #include "src/mips/macro-assembler-mips.h"
10 #include "src/scopes.h" 10 #include "src/scopes.h"
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 __ trunc_w_d(scratch, i.InputDoubleRegister(0)); 614 __ trunc_w_d(scratch, i.InputDoubleRegister(0));
615 __ mfc1(i.OutputRegister(), scratch); 615 __ mfc1(i.OutputRegister(), scratch);
616 break; 616 break;
617 } 617 }
618 case kMipsTruncUwD: { 618 case kMipsTruncUwD: {
619 FPURegister scratch = kScratchDoubleReg; 619 FPURegister scratch = kScratchDoubleReg;
620 // TODO(plind): Fix wrong param order of Trunc_uw_d() macro-asm function. 620 // TODO(plind): Fix wrong param order of Trunc_uw_d() macro-asm function.
621 __ Trunc_uw_d(i.InputDoubleRegister(0), i.OutputRegister(), scratch); 621 __ Trunc_uw_d(i.InputDoubleRegister(0), i.OutputRegister(), scratch);
622 break; 622 break;
623 } 623 }
624 case kMipsFmoveLowUwD: 624 case kMipsFloat64ExtractLowWord32:
625 __ FmoveLow(i.OutputRegister(), i.InputDoubleRegister(0)); 625 __ FmoveLow(i.OutputRegister(), i.InputDoubleRegister(0));
626 break; 626 break;
627 case kMipsFmoveLowDUw: 627 case kMipsFloat64ExtractHighWord32:
628 __ FmoveHigh(i.OutputRegister(), i.InputDoubleRegister(0));
629 break;
630 case kMipsFloat64InsertLowWord32:
628 __ FmoveLow(i.OutputDoubleRegister(), i.InputRegister(1)); 631 __ FmoveLow(i.OutputDoubleRegister(), i.InputRegister(1));
629 break; 632 break;
630 case kMipsFmoveHighUwD: 633 case kMipsFloat64InsertHighWord32:
631 __ FmoveHigh(i.OutputRegister(), i.InputDoubleRegister(0));
632 break;
633 case kMipsFmoveHighDUw:
634 __ FmoveHigh(i.OutputDoubleRegister(), i.InputRegister(1)); 634 __ FmoveHigh(i.OutputDoubleRegister(), i.InputRegister(1));
635 break; 635 break;
636 // ... more basic instructions ... 636 // ... more basic instructions ...
637 637
638 case kMipsLbu: 638 case kMipsLbu:
639 __ lbu(i.OutputRegister(), i.MemoryOperand()); 639 __ lbu(i.OutputRegister(), i.MemoryOperand());
640 break; 640 break;
641 case kMipsLb: 641 case kMipsLb:
642 __ lb(i.OutputRegister(), i.MemoryOperand()); 642 __ lb(i.OutputRegister(), i.MemoryOperand());
643 break; 643 break;
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
1217 } 1217 }
1218 } 1218 }
1219 MarkLazyDeoptSite(); 1219 MarkLazyDeoptSite();
1220 } 1220 }
1221 1221
1222 #undef __ 1222 #undef __
1223 1223
1224 } // namespace compiler 1224 } // namespace compiler
1225 } // namespace internal 1225 } // namespace internal
1226 } // namespace v8 1226 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/mips/instruction-codes-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698