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 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1140 __ CallCFunction(ExternalReference::mod_two_doubles_operation(isolate()), | 1140 __ CallCFunction(ExternalReference::mod_two_doubles_operation(isolate()), |
1141 0, 2); | 1141 0, 2); |
1142 // Move the result in the double result register. | 1142 // Move the result in the double result register. |
1143 __ MovFromFloatResult(i.OutputDoubleRegister()); | 1143 __ MovFromFloatResult(i.OutputDoubleRegister()); |
1144 break; | 1144 break; |
1145 } | 1145 } |
1146 case kMipsAbsD: | 1146 case kMipsAbsD: |
1147 __ abs_d(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); | 1147 __ abs_d(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
1148 break; | 1148 break; |
1149 case kMipsNegS: | 1149 case kMipsNegS: |
1150 __ neg_s(i.OutputSingleRegister(), i.InputSingleRegister(0)); | 1150 __ Neg_s(i.OutputSingleRegister(), i.InputSingleRegister(0)); |
1151 break; | 1151 break; |
1152 case kMipsNegD: | 1152 case kMipsNegD: |
1153 __ neg_d(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); | 1153 __ Neg_d(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
1154 break; | 1154 break; |
1155 case kMipsSqrtD: { | 1155 case kMipsSqrtD: { |
1156 __ sqrt_d(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); | 1156 __ sqrt_d(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
1157 break; | 1157 break; |
1158 } | 1158 } |
1159 case kMipsMaxD: | 1159 case kMipsMaxD: |
1160 __ max_d(i.OutputDoubleRegister(), i.InputDoubleRegister(0), | 1160 __ max_d(i.OutputDoubleRegister(), i.InputDoubleRegister(0), |
1161 i.InputDoubleRegister(1)); | 1161 i.InputDoubleRegister(1)); |
1162 break; | 1162 break; |
1163 case kMipsMinD: | 1163 case kMipsMinD: |
(...skipping 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2186 padding_size -= v8::internal::Assembler::kInstrSize; | 2186 padding_size -= v8::internal::Assembler::kInstrSize; |
2187 } | 2187 } |
2188 } | 2188 } |
2189 } | 2189 } |
2190 | 2190 |
2191 #undef __ | 2191 #undef __ |
2192 | 2192 |
2193 } // namespace compiler | 2193 } // namespace compiler |
2194 } // namespace internal | 2194 } // namespace internal |
2195 } // namespace v8 | 2195 } // namespace v8 |
OLD | NEW |