| 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 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1113 break; | 1113 break; |
| 1114 } | 1114 } |
| 1115 case kMips64TruncUwD: { | 1115 case kMips64TruncUwD: { |
| 1116 FPURegister scratch = kScratchDoubleReg; | 1116 FPURegister scratch = kScratchDoubleReg; |
| 1117 // TODO(plind): Fix wrong param order of Trunc_uw_d() macro-asm function. | 1117 // TODO(plind): Fix wrong param order of Trunc_uw_d() macro-asm function. |
| 1118 __ Trunc_uw_d(i.InputDoubleRegister(0), i.OutputRegister(), scratch); | 1118 __ Trunc_uw_d(i.InputDoubleRegister(0), i.OutputRegister(), scratch); |
| 1119 break; | 1119 break; |
| 1120 } | 1120 } |
| 1121 case kMips64TruncUlS: { | 1121 case kMips64TruncUlS: { |
| 1122 FPURegister scratch = kScratchDoubleReg; | 1122 FPURegister scratch = kScratchDoubleReg; |
| 1123 Register result = instr->OutputCount() > 1 ? i.OutputRegister(1) : no_reg; |
| 1123 // TODO(plind): Fix wrong param order of Trunc_ul_s() macro-asm function. | 1124 // TODO(plind): Fix wrong param order of Trunc_ul_s() macro-asm function. |
| 1124 __ Trunc_ul_s(i.InputDoubleRegister(0), i.OutputRegister(), scratch); | 1125 __ Trunc_ul_s(i.InputDoubleRegister(0), i.OutputRegister(), scratch, |
| 1126 result); |
| 1125 break; | 1127 break; |
| 1126 } | 1128 } |
| 1127 case kMips64TruncUlD: { | 1129 case kMips64TruncUlD: { |
| 1128 FPURegister scratch = kScratchDoubleReg; | 1130 FPURegister scratch = kScratchDoubleReg; |
| 1129 Register result = instr->OutputCount() > 1 ? i.OutputRegister(1) : no_reg; | 1131 Register result = instr->OutputCount() > 1 ? i.OutputRegister(1) : no_reg; |
| 1130 // TODO(plind): Fix wrong param order of Trunc_ul_d() macro-asm function. | 1132 // TODO(plind): Fix wrong param order of Trunc_ul_d() macro-asm function. |
| 1131 __ Trunc_ul_d(i.InputDoubleRegister(0), i.OutputRegister(0), scratch, | 1133 __ Trunc_ul_d(i.InputDoubleRegister(0), i.OutputRegister(0), scratch, |
| 1132 result); | 1134 result); |
| 1133 break; | 1135 break; |
| 1134 } | 1136 } |
| (...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1850 padding_size -= v8::internal::Assembler::kInstrSize; | 1852 padding_size -= v8::internal::Assembler::kInstrSize; |
| 1851 } | 1853 } |
| 1852 } | 1854 } |
| 1853 } | 1855 } |
| 1854 | 1856 |
| 1855 #undef __ | 1857 #undef __ |
| 1856 | 1858 |
| 1857 } // namespace compiler | 1859 } // namespace compiler |
| 1858 } // namespace internal | 1860 } // namespace internal |
| 1859 } // namespace v8 | 1861 } // namespace v8 |
| OLD | NEW |