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 1332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1343 __ ctc1(tmp_fcsr, FCSR); | 1343 __ ctc1(tmp_fcsr, FCSR); |
1344 } | 1344 } |
1345 break; | 1345 break; |
1346 } | 1346 } |
1347 case kMips64TruncUwD: { | 1347 case kMips64TruncUwD: { |
1348 FPURegister scratch = kScratchDoubleReg; | 1348 FPURegister scratch = kScratchDoubleReg; |
1349 // TODO(plind): Fix wrong param order of Trunc_uw_d() macro-asm function. | 1349 // TODO(plind): Fix wrong param order of Trunc_uw_d() macro-asm function. |
1350 __ Trunc_uw_d(i.InputDoubleRegister(0), i.OutputRegister(), scratch); | 1350 __ Trunc_uw_d(i.InputDoubleRegister(0), i.OutputRegister(), scratch); |
1351 break; | 1351 break; |
1352 } | 1352 } |
| 1353 case kMips64TruncUwS: { |
| 1354 FPURegister scratch = kScratchDoubleReg; |
| 1355 // TODO(plind): Fix wrong param order of Trunc_uw_d() macro-asm function. |
| 1356 __ Trunc_uw_s(i.InputDoubleRegister(0), i.OutputRegister(), scratch); |
| 1357 break; |
| 1358 } |
1353 case kMips64TruncUlS: { | 1359 case kMips64TruncUlS: { |
1354 FPURegister scratch = kScratchDoubleReg; | 1360 FPURegister scratch = kScratchDoubleReg; |
1355 Register result = instr->OutputCount() > 1 ? i.OutputRegister(1) : no_reg; | 1361 Register result = instr->OutputCount() > 1 ? i.OutputRegister(1) : no_reg; |
1356 // TODO(plind): Fix wrong param order of Trunc_ul_s() macro-asm function. | 1362 // TODO(plind): Fix wrong param order of Trunc_ul_s() macro-asm function. |
1357 __ Trunc_ul_s(i.InputDoubleRegister(0), i.OutputRegister(), scratch, | 1363 __ Trunc_ul_s(i.InputDoubleRegister(0), i.OutputRegister(), scratch, |
1358 result); | 1364 result); |
1359 break; | 1365 break; |
1360 } | 1366 } |
1361 case kMips64TruncUlD: { | 1367 case kMips64TruncUlD: { |
1362 FPURegister scratch = kScratchDoubleReg; | 1368 FPURegister scratch = kScratchDoubleReg; |
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2117 padding_size -= v8::internal::Assembler::kInstrSize; | 2123 padding_size -= v8::internal::Assembler::kInstrSize; |
2118 } | 2124 } |
2119 } | 2125 } |
2120 } | 2126 } |
2121 | 2127 |
2122 #undef __ | 2128 #undef __ |
2123 | 2129 |
2124 } // namespace compiler | 2130 } // namespace compiler |
2125 } // namespace internal | 2131 } // namespace internal |
2126 } // namespace v8 | 2132 } // namespace v8 |
OLD | NEW |