| 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 839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 850 break; | 850 break; |
| 851 case kPPC_Neg: | 851 case kPPC_Neg: |
| 852 __ neg(i.OutputRegister(), i.InputRegister(0), LeaveOE, i.OutputRCBit()); | 852 __ neg(i.OutputRegister(), i.InputRegister(0), LeaveOE, i.OutputRCBit()); |
| 853 break; | 853 break; |
| 854 case kPPC_MaxDouble: | 854 case kPPC_MaxDouble: |
| 855 ASSEMBLE_FLOAT_MAX(kScratchDoubleReg); | 855 ASSEMBLE_FLOAT_MAX(kScratchDoubleReg); |
| 856 break; | 856 break; |
| 857 case kPPC_MinDouble: | 857 case kPPC_MinDouble: |
| 858 ASSEMBLE_FLOAT_MIN(kScratchDoubleReg); | 858 ASSEMBLE_FLOAT_MIN(kScratchDoubleReg); |
| 859 break; | 859 break; |
| 860 case kPPC_AbsDouble: |
| 861 ASSEMBLE_FLOAT_UNOP_RC(fabs); |
| 862 break; |
| 860 case kPPC_SqrtDouble: | 863 case kPPC_SqrtDouble: |
| 861 ASSEMBLE_FLOAT_UNOP_RC(fsqrt); | 864 ASSEMBLE_FLOAT_UNOP_RC(fsqrt); |
| 862 break; | 865 break; |
| 863 case kPPC_FloorDouble: | 866 case kPPC_FloorDouble: |
| 864 ASSEMBLE_FLOAT_UNOP_RC(frim); | 867 ASSEMBLE_FLOAT_UNOP_RC(frim); |
| 865 break; | 868 break; |
| 866 case kPPC_CeilDouble: | 869 case kPPC_CeilDouble: |
| 867 ASSEMBLE_FLOAT_UNOP_RC(frip); | 870 ASSEMBLE_FLOAT_UNOP_RC(frip); |
| 868 break; | 871 break; |
| 869 case kPPC_TruncateDouble: | 872 case kPPC_TruncateDouble: |
| (...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1488 } | 1491 } |
| 1489 } | 1492 } |
| 1490 MarkLazyDeoptSite(); | 1493 MarkLazyDeoptSite(); |
| 1491 } | 1494 } |
| 1492 | 1495 |
| 1493 #undef __ | 1496 #undef __ |
| 1494 | 1497 |
| 1495 } // namespace compiler | 1498 } // namespace compiler |
| 1496 } // namespace internal | 1499 } // namespace internal |
| 1497 } // namespace v8 | 1500 } // namespace v8 |
| OLD | NEW |