| 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 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 763 case kX64Ror: | 763 case kX64Ror: |
| 764 ASSEMBLE_SHIFT(rorq, 6); | 764 ASSEMBLE_SHIFT(rorq, 6); |
| 765 break; | 765 break; |
| 766 case kX64Lzcnt32: | 766 case kX64Lzcnt32: |
| 767 if (instr->InputAt(0)->IsRegister()) { | 767 if (instr->InputAt(0)->IsRegister()) { |
| 768 __ Lzcntl(i.OutputRegister(), i.InputRegister(0)); | 768 __ Lzcntl(i.OutputRegister(), i.InputRegister(0)); |
| 769 } else { | 769 } else { |
| 770 __ Lzcntl(i.OutputRegister(), i.InputOperand(0)); | 770 __ Lzcntl(i.OutputRegister(), i.InputOperand(0)); |
| 771 } | 771 } |
| 772 break; | 772 break; |
| 773 case kX64Tzcnt32: |
| 774 if (instr->InputAt(0)->IsRegister()) { |
| 775 __ Tzcntl(i.OutputRegister(), i.InputRegister(0)); |
| 776 } else { |
| 777 __ Tzcntl(i.OutputRegister(), i.InputOperand(0)); |
| 778 } |
| 779 break; |
| 773 case kSSEFloat32Cmp: | 780 case kSSEFloat32Cmp: |
| 774 ASSEMBLE_SSE_BINOP(ucomiss); | 781 ASSEMBLE_SSE_BINOP(ucomiss); |
| 775 break; | 782 break; |
| 776 case kSSEFloat32Add: | 783 case kSSEFloat32Add: |
| 777 ASSEMBLE_SSE_BINOP(addss); | 784 ASSEMBLE_SSE_BINOP(addss); |
| 778 break; | 785 break; |
| 779 case kSSEFloat32Sub: | 786 case kSSEFloat32Sub: |
| 780 ASSEMBLE_SSE_BINOP(subss); | 787 ASSEMBLE_SSE_BINOP(subss); |
| 781 break; | 788 break; |
| 782 case kSSEFloat32Mul: | 789 case kSSEFloat32Mul: |
| (...skipping 1029 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1812 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; | 1819 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; |
| 1813 __ Nop(padding_size); | 1820 __ Nop(padding_size); |
| 1814 } | 1821 } |
| 1815 } | 1822 } |
| 1816 | 1823 |
| 1817 #undef __ | 1824 #undef __ |
| 1818 | 1825 |
| 1819 } // namespace compiler | 1826 } // namespace compiler |
| 1820 } // namespace internal | 1827 } // namespace internal |
| 1821 } // namespace v8 | 1828 } // namespace v8 |
| OLD | NEW |