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/compiler/code-generator.h" | 5 #include "src/compiler/code-generator.h" |
6 | 6 |
7 #include "src/ast/scopes.h" | 7 #include "src/ast/scopes.h" |
8 #include "src/compiler/code-generator-impl.h" | 8 #include "src/compiler/code-generator-impl.h" |
9 #include "src/compiler/gap-resolver.h" | 9 #include "src/compiler/gap-resolver.h" |
10 #include "src/compiler/node-matchers.h" | 10 #include "src/compiler/node-matchers.h" |
(...skipping 1245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1256 // TODO(bmeurer): We should really get rid of this special instruction, | 1256 // TODO(bmeurer): We should really get rid of this special instruction, |
1257 // and generate a CallAddress instruction instead. | 1257 // and generate a CallAddress instruction instead. |
1258 ASSEMBLE_FLOAT_MODULO(); | 1258 ASSEMBLE_FLOAT_MODULO(); |
1259 break; | 1259 break; |
1260 case kIeee754Float64Atan: | 1260 case kIeee754Float64Atan: |
1261 ASSEMBLE_IEEE754_UNOP(atan); | 1261 ASSEMBLE_IEEE754_UNOP(atan); |
1262 break; | 1262 break; |
1263 case kIeee754Float64Atan2: | 1263 case kIeee754Float64Atan2: |
1264 ASSEMBLE_IEEE754_BINOP(atan2); | 1264 ASSEMBLE_IEEE754_BINOP(atan2); |
1265 break; | 1265 break; |
| 1266 case kIeee754Float64Cbrt: |
| 1267 ASSEMBLE_IEEE754_UNOP(cbrt); |
| 1268 break; |
| 1269 case kIeee754Float64Sin: |
| 1270 ASSEMBLE_IEEE754_UNOP(sin); |
| 1271 break; |
| 1272 case kIeee754Float64Cos: |
| 1273 ASSEMBLE_IEEE754_UNOP(cos); |
| 1274 break; |
1266 case kIeee754Float64Exp: | 1275 case kIeee754Float64Exp: |
1267 ASSEMBLE_IEEE754_UNOP(exp); | 1276 ASSEMBLE_IEEE754_UNOP(exp); |
1268 break; | 1277 break; |
| 1278 case kIeee754Float64Expm1: |
| 1279 ASSEMBLE_IEEE754_UNOP(expm1); |
| 1280 break; |
| 1281 case kIeee754Float64Atanh: |
| 1282 ASSEMBLE_IEEE754_UNOP(atanh); |
| 1283 break; |
1269 case kIeee754Float64Log: | 1284 case kIeee754Float64Log: |
1270 ASSEMBLE_IEEE754_UNOP(log); | 1285 ASSEMBLE_IEEE754_UNOP(log); |
1271 break; | 1286 break; |
1272 case kIeee754Float64Log1p: | 1287 case kIeee754Float64Log1p: |
1273 ASSEMBLE_IEEE754_UNOP(log1p); | 1288 ASSEMBLE_IEEE754_UNOP(log1p); |
1274 break; | 1289 break; |
1275 case kIeee754Float64Log2: | 1290 case kIeee754Float64Log2: |
1276 ASSEMBLE_IEEE754_UNOP(log2); | 1291 ASSEMBLE_IEEE754_UNOP(log2); |
1277 break; | 1292 break; |
1278 case kIeee754Float64Log10: | 1293 case kIeee754Float64Log10: |
(...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2201 padding_size -= v8::internal::Assembler::kInstrSize; | 2216 padding_size -= v8::internal::Assembler::kInstrSize; |
2202 } | 2217 } |
2203 } | 2218 } |
2204 } | 2219 } |
2205 | 2220 |
2206 #undef __ | 2221 #undef __ |
2207 | 2222 |
2208 } // namespace compiler | 2223 } // namespace compiler |
2209 } // namespace internal | 2224 } // namespace internal |
2210 } // namespace v8 | 2225 } // namespace v8 |
OLD | NEW |