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

Side by Side Diff: src/compiler/mips64/code-generator-mips64.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
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 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 __ trunc_w_d(scratch, i.InputDoubleRegister(0)); 678 __ trunc_w_d(scratch, i.InputDoubleRegister(0));
679 __ mfc1(i.OutputRegister(), scratch); 679 __ mfc1(i.OutputRegister(), scratch);
680 break; 680 break;
681 } 681 }
682 case kMips64TruncUwD: { 682 case kMips64TruncUwD: {
683 FPURegister scratch = kScratchDoubleReg; 683 FPURegister scratch = kScratchDoubleReg;
684 // TODO(plind): Fix wrong param order of Trunc_uw_d() macro-asm function. 684 // TODO(plind): Fix wrong param order of Trunc_uw_d() macro-asm function.
685 __ Trunc_uw_d(i.InputDoubleRegister(0), i.OutputRegister(), scratch); 685 __ Trunc_uw_d(i.InputDoubleRegister(0), i.OutputRegister(), scratch);
686 break; 686 break;
687 } 687 }
688 case kMips64FmoveLowUwD: 688 case kMips64Float64ExtractLowWord32:
689 __ FmoveLow(i.OutputRegister(), i.InputDoubleRegister(0)); 689 __ FmoveLow(i.OutputRegister(), i.InputDoubleRegister(0));
690 break; 690 break;
691 case kMips64FmoveLowDUw: 691 case kMips64Float64ExtractHighWord32:
692 __ FmoveHigh(i.OutputRegister(), i.InputDoubleRegister(0));
693 break;
694 case kMips64Float64InsertLowWord32:
692 __ FmoveLow(i.OutputDoubleRegister(), i.InputRegister(1)); 695 __ FmoveLow(i.OutputDoubleRegister(), i.InputRegister(1));
693 break; 696 break;
694 case kMips64FmoveHighUwD: 697 case kMips64Float64InsertHighWord32:
695 __ FmoveHigh(i.OutputRegister(), i.InputDoubleRegister(0));
696 break;
697 case kMips64FmoveHighDUw:
698 __ FmoveHigh(i.OutputDoubleRegister(), i.InputRegister(1)); 698 __ FmoveHigh(i.OutputDoubleRegister(), i.InputRegister(1));
699 break; 699 break;
700 // ... more basic instructions ... 700 // ... more basic instructions ...
701 701
702 case kMips64Lbu: 702 case kMips64Lbu:
703 __ lbu(i.OutputRegister(), i.MemoryOperand()); 703 __ lbu(i.OutputRegister(), i.MemoryOperand());
704 break; 704 break;
705 case kMips64Lb: 705 case kMips64Lb:
706 __ lb(i.OutputRegister(), i.MemoryOperand()); 706 __ lb(i.OutputRegister(), i.MemoryOperand());
707 break; 707 break;
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
1377 } 1377 }
1378 } 1378 }
1379 MarkLazyDeoptSite(); 1379 MarkLazyDeoptSite();
1380 } 1380 }
1381 1381
1382 #undef __ 1382 #undef __
1383 1383
1384 } // namespace compiler 1384 } // namespace compiler
1385 } // namespace internal 1385 } // namespace internal
1386 } // namespace v8 1386 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips/instruction-selector-mips.cc ('k') | src/compiler/mips64/instruction-codes-mips64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698