| 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/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/osr.h" | 10 #include "src/compiler/osr.h" |
| (...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 case kIA32Ror: | 502 case kIA32Ror: |
| 503 if (HasImmediateInput(instr, 1)) { | 503 if (HasImmediateInput(instr, 1)) { |
| 504 __ ror(i.OutputOperand(), i.InputInt5(1)); | 504 __ ror(i.OutputOperand(), i.InputInt5(1)); |
| 505 } else { | 505 } else { |
| 506 __ ror_cl(i.OutputOperand()); | 506 __ ror_cl(i.OutputOperand()); |
| 507 } | 507 } |
| 508 break; | 508 break; |
| 509 case kIA32Lzcnt: | 509 case kIA32Lzcnt: |
| 510 __ Lzcnt(i.OutputRegister(), i.InputOperand(0)); | 510 __ Lzcnt(i.OutputRegister(), i.InputOperand(0)); |
| 511 break; | 511 break; |
| 512 case kIA32Tzcnt: |
| 513 __ Tzcnt(i.OutputRegister(), i.InputOperand(0)); |
| 514 break; |
| 512 case kSSEFloat32Cmp: | 515 case kSSEFloat32Cmp: |
| 513 __ ucomiss(i.InputDoubleRegister(0), i.InputOperand(1)); | 516 __ ucomiss(i.InputDoubleRegister(0), i.InputOperand(1)); |
| 514 break; | 517 break; |
| 515 case kSSEFloat32Add: | 518 case kSSEFloat32Add: |
| 516 __ addss(i.InputDoubleRegister(0), i.InputOperand(1)); | 519 __ addss(i.InputDoubleRegister(0), i.InputOperand(1)); |
| 517 break; | 520 break; |
| 518 case kSSEFloat32Sub: | 521 case kSSEFloat32Sub: |
| 519 __ subss(i.InputDoubleRegister(0), i.InputOperand(1)); | 522 __ subss(i.InputDoubleRegister(0), i.InputOperand(1)); |
| 520 break; | 523 break; |
| 521 case kSSEFloat32Mul: | 524 case kSSEFloat32Mul: |
| (...skipping 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1555 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; | 1558 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; |
| 1556 __ Nop(padding_size); | 1559 __ Nop(padding_size); |
| 1557 } | 1560 } |
| 1558 } | 1561 } |
| 1559 | 1562 |
| 1560 #undef __ | 1563 #undef __ |
| 1561 | 1564 |
| 1562 } // namespace compiler | 1565 } // namespace compiler |
| 1563 } // namespace internal | 1566 } // namespace internal |
| 1564 } // namespace v8 | 1567 } // namespace v8 |
| OLD | NEW |