| 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/ast/scopes.h" | 5 #include "src/ast/scopes.h" |
| 6 #include "src/compiler/code-generator.h" | 6 #include "src/compiler/code-generator.h" |
| 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 1017 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1028 __ trunc_l_d(scratch, i.InputDoubleRegister(0)); | 1028 __ trunc_l_d(scratch, i.InputDoubleRegister(0)); |
| 1029 __ dmfc1(i.OutputRegister(), scratch); | 1029 __ dmfc1(i.OutputRegister(), scratch); |
| 1030 break; | 1030 break; |
| 1031 } | 1031 } |
| 1032 case kMips64TruncUwD: { | 1032 case kMips64TruncUwD: { |
| 1033 FPURegister scratch = kScratchDoubleReg; | 1033 FPURegister scratch = kScratchDoubleReg; |
| 1034 // TODO(plind): Fix wrong param order of Trunc_uw_d() macro-asm function. | 1034 // TODO(plind): Fix wrong param order of Trunc_uw_d() macro-asm function. |
| 1035 __ Trunc_uw_d(i.InputDoubleRegister(0), i.OutputRegister(), scratch); | 1035 __ Trunc_uw_d(i.InputDoubleRegister(0), i.OutputRegister(), scratch); |
| 1036 break; | 1036 break; |
| 1037 } | 1037 } |
| 1038 case kMips64TruncUlS: { |
| 1039 FPURegister scratch = kScratchDoubleReg; |
| 1040 // TODO(plind): Fix wrong param order of Trunc_ul_s() macro-asm function. |
| 1041 __ Trunc_ul_s(i.InputDoubleRegister(0), i.OutputRegister(), scratch); |
| 1042 break; |
| 1043 } |
| 1038 case kMips64TruncUlD: { | 1044 case kMips64TruncUlD: { |
| 1039 FPURegister scratch = kScratchDoubleReg; | 1045 FPURegister scratch = kScratchDoubleReg; |
| 1040 // TODO(plind): Fix wrong param order of Trunc_ul_d() macro-asm function. | 1046 // TODO(plind): Fix wrong param order of Trunc_ul_d() macro-asm function. |
| 1041 __ Trunc_ul_d(i.InputDoubleRegister(0), i.OutputRegister(), scratch); | 1047 __ Trunc_ul_d(i.InputDoubleRegister(0), i.OutputRegister(), scratch); |
| 1042 break; | 1048 break; |
| 1043 } | 1049 } |
| 1044 case kMips64BitcastDL: | 1050 case kMips64BitcastDL: |
| 1045 __ dmfc1(i.OutputRegister(), i.InputDoubleRegister(0)); | 1051 __ dmfc1(i.OutputRegister(), i.InputDoubleRegister(0)); |
| 1046 break; | 1052 break; |
| 1047 case kMips64BitcastLD: | 1053 case kMips64BitcastLD: |
| (...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1759 padding_size -= v8::internal::Assembler::kInstrSize; | 1765 padding_size -= v8::internal::Assembler::kInstrSize; |
| 1760 } | 1766 } |
| 1761 } | 1767 } |
| 1762 } | 1768 } |
| 1763 | 1769 |
| 1764 #undef __ | 1770 #undef __ |
| 1765 | 1771 |
| 1766 } // namespace compiler | 1772 } // namespace compiler |
| 1767 } // namespace internal | 1773 } // namespace internal |
| 1768 } // namespace v8 | 1774 } // namespace v8 |
| OLD | NEW |