| 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 1086 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1097 break; | 1097 break; |
| 1098 } | 1098 } |
| 1099 case kMips64TruncUlS: { | 1099 case kMips64TruncUlS: { |
| 1100 FPURegister scratch = kScratchDoubleReg; | 1100 FPURegister scratch = kScratchDoubleReg; |
| 1101 // TODO(plind): Fix wrong param order of Trunc_ul_s() macro-asm function. | 1101 // TODO(plind): Fix wrong param order of Trunc_ul_s() macro-asm function. |
| 1102 __ Trunc_ul_s(i.InputDoubleRegister(0), i.OutputRegister(), scratch); | 1102 __ Trunc_ul_s(i.InputDoubleRegister(0), i.OutputRegister(), scratch); |
| 1103 break; | 1103 break; |
| 1104 } | 1104 } |
| 1105 case kMips64TruncUlD: { | 1105 case kMips64TruncUlD: { |
| 1106 FPURegister scratch = kScratchDoubleReg; | 1106 FPURegister scratch = kScratchDoubleReg; |
| 1107 Register result = instr->OutputCount() > 1 ? i.OutputRegister(1) : no_reg; |
| 1107 // TODO(plind): Fix wrong param order of Trunc_ul_d() macro-asm function. | 1108 // TODO(plind): Fix wrong param order of Trunc_ul_d() macro-asm function. |
| 1108 __ Trunc_ul_d(i.InputDoubleRegister(0), i.OutputRegister(), scratch); | 1109 __ Trunc_ul_d(i.InputDoubleRegister(0), i.OutputRegister(0), scratch, |
| 1110 result); |
| 1109 break; | 1111 break; |
| 1110 } | 1112 } |
| 1111 case kMips64BitcastDL: | 1113 case kMips64BitcastDL: |
| 1112 __ dmfc1(i.OutputRegister(), i.InputDoubleRegister(0)); | 1114 __ dmfc1(i.OutputRegister(), i.InputDoubleRegister(0)); |
| 1113 break; | 1115 break; |
| 1114 case kMips64BitcastLD: | 1116 case kMips64BitcastLD: |
| 1115 __ dmtc1(i.InputRegister(0), i.OutputDoubleRegister()); | 1117 __ dmtc1(i.InputRegister(0), i.OutputDoubleRegister()); |
| 1116 break; | 1118 break; |
| 1117 case kMips64Float64ExtractLowWord32: | 1119 case kMips64Float64ExtractLowWord32: |
| 1118 __ FmoveLow(i.OutputRegister(), i.InputDoubleRegister(0)); | 1120 __ FmoveLow(i.OutputRegister(), i.InputDoubleRegister(0)); |
| (...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1826 padding_size -= v8::internal::Assembler::kInstrSize; | 1828 padding_size -= v8::internal::Assembler::kInstrSize; |
| 1827 } | 1829 } |
| 1828 } | 1830 } |
| 1829 } | 1831 } |
| 1830 | 1832 |
| 1831 #undef __ | 1833 #undef __ |
| 1832 | 1834 |
| 1833 } // namespace compiler | 1835 } // namespace compiler |
| 1834 } // namespace internal | 1836 } // namespace internal |
| 1835 } // namespace v8 | 1837 } // namespace v8 |
| OLD | NEW |