| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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/ppc/macro-assembler-ppc.h" | 10 #include "src/ppc/macro-assembler-ppc.h" |
| (...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 832 break; | 832 break; |
| 833 case kPPC_TruncateFloat64: | 833 case kPPC_TruncateFloat64: |
| 834 ASSEMBLE_FLOAT_UNOP_RC(friz); | 834 ASSEMBLE_FLOAT_UNOP_RC(friz); |
| 835 break; | 835 break; |
| 836 case kPPC_RoundFloat64: | 836 case kPPC_RoundFloat64: |
| 837 ASSEMBLE_FLOAT_UNOP_RC(frin); | 837 ASSEMBLE_FLOAT_UNOP_RC(frin); |
| 838 break; | 838 break; |
| 839 case kPPC_NegFloat64: | 839 case kPPC_NegFloat64: |
| 840 ASSEMBLE_FLOAT_UNOP_RC(fneg); | 840 ASSEMBLE_FLOAT_UNOP_RC(fneg); |
| 841 break; | 841 break; |
| 842 case kPPC_Cntlz32: |
| 843 __ cntlzw_(i.OutputRegister(), i.InputRegister(0)); |
| 844 DCHECK_EQ(LeaveRC, i.OutputRCBit()); |
| 845 break; |
| 842 case kPPC_Cmp32: | 846 case kPPC_Cmp32: |
| 843 ASSEMBLE_COMPARE(cmpw, cmplw); | 847 ASSEMBLE_COMPARE(cmpw, cmplw); |
| 844 break; | 848 break; |
| 845 #if V8_TARGET_ARCH_PPC64 | 849 #if V8_TARGET_ARCH_PPC64 |
| 846 case kPPC_Cmp64: | 850 case kPPC_Cmp64: |
| 847 ASSEMBLE_COMPARE(cmp, cmpl); | 851 ASSEMBLE_COMPARE(cmp, cmpl); |
| 848 break; | 852 break; |
| 849 #endif | 853 #endif |
| 850 case kPPC_CmpFloat64: | 854 case kPPC_CmpFloat64: |
| 851 ASSEMBLE_FLOAT_COMPARE(fcmpu); | 855 ASSEMBLE_FLOAT_COMPARE(fcmpu); |
| (...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1446 } | 1450 } |
| 1447 } | 1451 } |
| 1448 MarkLazyDeoptSite(); | 1452 MarkLazyDeoptSite(); |
| 1449 } | 1453 } |
| 1450 | 1454 |
| 1451 #undef __ | 1455 #undef __ |
| 1452 | 1456 |
| 1453 } // namespace compiler | 1457 } // namespace compiler |
| 1454 } // namespace internal | 1458 } // namespace internal |
| 1455 } // namespace v8 | 1459 } // namespace v8 |
| OLD | NEW |