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 1251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 kIeee754Float64Log: | 1266 case kIeee754Float64Log: |
1267 ASSEMBLE_IEEE754_UNOP(log); | 1267 ASSEMBLE_IEEE754_UNOP(log); |
1268 break; | 1268 break; |
1269 case kIeee754Float64Log1p: | 1269 case kIeee754Float64Log1p: |
1270 ASSEMBLE_IEEE754_UNOP(log1p); | 1270 ASSEMBLE_IEEE754_UNOP(log1p); |
1271 break; | 1271 break; |
| 1272 case kIeee754Float64Log2: |
| 1273 ASSEMBLE_IEEE754_UNOP(log2); |
| 1274 break; |
| 1275 case kIeee754Float64Log10: |
| 1276 ASSEMBLE_IEEE754_UNOP(log10); |
| 1277 break; |
1272 case kPPC_Neg: | 1278 case kPPC_Neg: |
1273 __ neg(i.OutputRegister(), i.InputRegister(0), LeaveOE, i.OutputRCBit()); | 1279 __ neg(i.OutputRegister(), i.InputRegister(0), LeaveOE, i.OutputRCBit()); |
1274 break; | 1280 break; |
1275 case kPPC_MaxDouble: | 1281 case kPPC_MaxDouble: |
1276 ASSEMBLE_FLOAT_MAX(kScratchDoubleReg); | 1282 ASSEMBLE_FLOAT_MAX(kScratchDoubleReg); |
1277 break; | 1283 break; |
1278 case kPPC_MinDouble: | 1284 case kPPC_MinDouble: |
1279 ASSEMBLE_FLOAT_MIN(kScratchDoubleReg); | 1285 ASSEMBLE_FLOAT_MIN(kScratchDoubleReg); |
1280 break; | 1286 break; |
1281 case kPPC_AbsDouble: | 1287 case kPPC_AbsDouble: |
(...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2192 padding_size -= v8::internal::Assembler::kInstrSize; | 2198 padding_size -= v8::internal::Assembler::kInstrSize; |
2193 } | 2199 } |
2194 } | 2200 } |
2195 } | 2201 } |
2196 | 2202 |
2197 #undef __ | 2203 #undef __ |
2198 | 2204 |
2199 } // namespace compiler | 2205 } // namespace compiler |
2200 } // namespace internal | 2206 } // namespace internal |
2201 } // namespace v8 | 2207 } // namespace v8 |
OLD | NEW |