| 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 1527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1538 __ vpsllq(kScratchDoubleReg, kScratchDoubleReg, 63); | 1538 __ vpsllq(kScratchDoubleReg, kScratchDoubleReg, 63); |
| 1539 if (instr->InputAt(0)->IsFPRegister()) { | 1539 if (instr->InputAt(0)->IsFPRegister()) { |
| 1540 __ vxorpd(i.OutputDoubleRegister(), kScratchDoubleReg, | 1540 __ vxorpd(i.OutputDoubleRegister(), kScratchDoubleReg, |
| 1541 i.InputDoubleRegister(0)); | 1541 i.InputDoubleRegister(0)); |
| 1542 } else { | 1542 } else { |
| 1543 __ vxorpd(i.OutputDoubleRegister(), kScratchDoubleReg, | 1543 __ vxorpd(i.OutputDoubleRegister(), kScratchDoubleReg, |
| 1544 i.InputOperand(0)); | 1544 i.InputOperand(0)); |
| 1545 } | 1545 } |
| 1546 break; | 1546 break; |
| 1547 } | 1547 } |
| 1548 case kSSEFloat64SilenceNaN: |
| 1549 __ Xorpd(kScratchDoubleReg, kScratchDoubleReg); |
| 1550 __ Subsd(i.InputDoubleRegister(0), kScratchDoubleReg); |
| 1551 break; |
| 1548 case kX64Movsxbl: | 1552 case kX64Movsxbl: |
| 1549 ASSEMBLE_MOVX(movsxbl); | 1553 ASSEMBLE_MOVX(movsxbl); |
| 1550 __ AssertZeroExtended(i.OutputRegister()); | 1554 __ AssertZeroExtended(i.OutputRegister()); |
| 1551 break; | 1555 break; |
| 1552 case kX64Movzxbl: | 1556 case kX64Movzxbl: |
| 1553 ASSEMBLE_MOVX(movzxbl); | 1557 ASSEMBLE_MOVX(movzxbl); |
| 1554 __ AssertZeroExtended(i.OutputRegister()); | 1558 __ AssertZeroExtended(i.OutputRegister()); |
| 1555 break; | 1559 break; |
| 1556 case kX64Movb: { | 1560 case kX64Movb: { |
| 1557 size_t index = 0; | 1561 size_t index = 0; |
| (...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2327 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; | 2331 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; |
| 2328 __ Nop(padding_size); | 2332 __ Nop(padding_size); |
| 2329 } | 2333 } |
| 2330 } | 2334 } |
| 2331 | 2335 |
| 2332 #undef __ | 2336 #undef __ |
| 2333 | 2337 |
| 2334 } // namespace compiler | 2338 } // namespace compiler |
| 2335 } // namespace internal | 2339 } // namespace internal |
| 2336 } // namespace v8 | 2340 } // namespace v8 |
| OLD | NEW |