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

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

Issue 655383003: Fix x64 after r24656. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/compiler/node-properties-inl.h" 10 #include "src/compiler/node-properties-inl.h"
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 break; 440 break;
441 case kSSEInt32ToFloat64: 441 case kSSEInt32ToFloat64:
442 if (instr->InputAt(0)->IsRegister()) { 442 if (instr->InputAt(0)->IsRegister()) {
443 __ cvtlsi2sd(i.OutputDoubleRegister(), i.InputRegister(0)); 443 __ cvtlsi2sd(i.OutputDoubleRegister(), i.InputRegister(0));
444 } else { 444 } else {
445 __ cvtlsi2sd(i.OutputDoubleRegister(), i.InputOperand(0)); 445 __ cvtlsi2sd(i.OutputDoubleRegister(), i.InputOperand(0));
446 } 446 }
447 break; 447 break;
448 case kSSEUint32ToFloat64: 448 case kSSEUint32ToFloat64:
449 if (instr->InputAt(0)->IsRegister()) { 449 if (instr->InputAt(0)->IsRegister()) {
450 __ cvtqsi2sd(i.OutputDoubleRegister(), i.InputRegister(0)); 450 __ movl(kScratchRegister, i.InputRegister(0));
451 } else { 451 } else {
452 __ cvtqsi2sd(i.OutputDoubleRegister(), i.InputOperand(0)); 452 __ movl(kScratchRegister, i.InputOperand(0));
453 } 453 }
454 __ cvtqsi2sd(i.OutputDoubleRegister(), kScratchRegister);
454 break; 455 break;
455 case kX64Movsxbl: 456 case kX64Movsxbl:
456 __ movsxbl(i.OutputRegister(), i.MemoryOperand()); 457 __ movsxbl(i.OutputRegister(), i.MemoryOperand());
457 break; 458 break;
458 case kX64Movzxbl: 459 case kX64Movzxbl:
459 __ movzxbl(i.OutputRegister(), i.MemoryOperand()); 460 __ movzxbl(i.OutputRegister(), i.MemoryOperand());
460 break; 461 break;
461 case kX64Movb: { 462 case kX64Movb: {
462 int index = 0; 463 int index = 0;
463 Operand operand = i.MemoryOperand(&index); 464 Operand operand = i.MemoryOperand(&index);
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
1002 } 1003 }
1003 } 1004 }
1004 MarkLazyDeoptSite(); 1005 MarkLazyDeoptSite();
1005 } 1006 }
1006 1007
1007 #undef __ 1008 #undef __
1008 1009
1009 } // namespace internal 1010 } // namespace internal
1010 } // namespace compiler 1011 } // namespace compiler
1011 } // namespace v8 1012 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698