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 kIeee754Float64Tan: |
| 1267 ASSEMBLE_IEEE754_UNOP(tan); |
| 1268 break; |
1266 case kIeee754Float64Cbrt: | 1269 case kIeee754Float64Cbrt: |
1267 ASSEMBLE_IEEE754_UNOP(cbrt); | 1270 ASSEMBLE_IEEE754_UNOP(cbrt); |
1268 break; | 1271 break; |
1269 case kIeee754Float64Sin: | 1272 case kIeee754Float64Sin: |
1270 ASSEMBLE_IEEE754_UNOP(sin); | 1273 ASSEMBLE_IEEE754_UNOP(sin); |
1271 break; | 1274 break; |
1272 case kIeee754Float64Cos: | 1275 case kIeee754Float64Cos: |
1273 ASSEMBLE_IEEE754_UNOP(cos); | 1276 ASSEMBLE_IEEE754_UNOP(cos); |
1274 break; | 1277 break; |
1275 case kIeee754Float64Exp: | 1278 case kIeee754Float64Exp: |
(...skipping 940 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2216 padding_size -= v8::internal::Assembler::kInstrSize; | 2219 padding_size -= v8::internal::Assembler::kInstrSize; |
2217 } | 2220 } |
2218 } | 2221 } |
2219 } | 2222 } |
2220 | 2223 |
2221 #undef __ | 2224 #undef __ |
2222 | 2225 |
2223 } // namespace compiler | 2226 } // namespace compiler |
2224 } // namespace internal | 2227 } // namespace internal |
2225 } // namespace v8 | 2228 } // namespace v8 |
OLD | NEW |