| OLD | NEW |
| 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/ast/scopes.h" | 7 #include "src/ast/scopes.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 1540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1551 __ vpsllq(kScratchDoubleReg, kScratchDoubleReg, 63); | 1551 __ vpsllq(kScratchDoubleReg, kScratchDoubleReg, 63); |
| 1552 if (instr->InputAt(0)->IsFPRegister()) { | 1552 if (instr->InputAt(0)->IsFPRegister()) { |
| 1553 __ vxorpd(i.OutputDoubleRegister(), kScratchDoubleReg, | 1553 __ vxorpd(i.OutputDoubleRegister(), kScratchDoubleReg, |
| 1554 i.InputDoubleRegister(0)); | 1554 i.InputDoubleRegister(0)); |
| 1555 } else { | 1555 } else { |
| 1556 __ vxorpd(i.OutputDoubleRegister(), kScratchDoubleReg, | 1556 __ vxorpd(i.OutputDoubleRegister(), kScratchDoubleReg, |
| 1557 i.InputOperand(0)); | 1557 i.InputOperand(0)); |
| 1558 } | 1558 } |
| 1559 break; | 1559 break; |
| 1560 } | 1560 } |
| 1561 case kSSEFloat64SilenceNaN: |
| 1562 __ Xorpd(kScratchDoubleReg, kScratchDoubleReg); |
| 1563 __ Subsd(i.InputDoubleRegister(0), kScratchDoubleReg); |
| 1564 break; |
| 1561 case kX64Movsxbl: | 1565 case kX64Movsxbl: |
| 1562 ASSEMBLE_MOVX(movsxbl); | 1566 ASSEMBLE_MOVX(movsxbl); |
| 1563 __ AssertZeroExtended(i.OutputRegister()); | 1567 __ AssertZeroExtended(i.OutputRegister()); |
| 1564 break; | 1568 break; |
| 1565 case kX64Movzxbl: | 1569 case kX64Movzxbl: |
| 1566 ASSEMBLE_MOVX(movzxbl); | 1570 ASSEMBLE_MOVX(movzxbl); |
| 1567 __ AssertZeroExtended(i.OutputRegister()); | 1571 __ AssertZeroExtended(i.OutputRegister()); |
| 1568 break; | 1572 break; |
| 1569 case kX64Movb: { | 1573 case kX64Movb: { |
| 1570 size_t index = 0; | 1574 size_t index = 0; |
| (...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2340 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; | 2344 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; |
| 2341 __ Nop(padding_size); | 2345 __ Nop(padding_size); |
| 2342 } | 2346 } |
| 2343 } | 2347 } |
| 2344 | 2348 |
| 2345 #undef __ | 2349 #undef __ |
| 2346 | 2350 |
| 2347 } // namespace compiler | 2351 } // namespace compiler |
| 2348 } // namespace internal | 2352 } // namespace internal |
| 2349 } // namespace v8 | 2353 } // namespace v8 |
| OLD | NEW |