| 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 1283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1294 break; | 1294 break; |
| 1295 case kIeee754Float64Log1p: | 1295 case kIeee754Float64Log1p: |
| 1296 ASSEMBLE_IEEE754_UNOP(log1p); | 1296 ASSEMBLE_IEEE754_UNOP(log1p); |
| 1297 break; | 1297 break; |
| 1298 case kIeee754Float64Log2: | 1298 case kIeee754Float64Log2: |
| 1299 ASSEMBLE_IEEE754_UNOP(log2); | 1299 ASSEMBLE_IEEE754_UNOP(log2); |
| 1300 break; | 1300 break; |
| 1301 case kIeee754Float64Log10: | 1301 case kIeee754Float64Log10: |
| 1302 ASSEMBLE_IEEE754_UNOP(log10); | 1302 ASSEMBLE_IEEE754_UNOP(log10); |
| 1303 break; | 1303 break; |
| 1304 case kIeee754Float64Pow: { |
| 1305 MathPowStub stub(isolate(), MathPowStub::DOUBLE); |
| 1306 __ CallStub(&stub); |
| 1307 __ Move(d1, d3); |
| 1308 break; |
| 1309 } |
| 1304 case kPPC_Neg: | 1310 case kPPC_Neg: |
| 1305 __ neg(i.OutputRegister(), i.InputRegister(0), LeaveOE, i.OutputRCBit()); | 1311 __ neg(i.OutputRegister(), i.InputRegister(0), LeaveOE, i.OutputRCBit()); |
| 1306 break; | 1312 break; |
| 1307 case kPPC_MaxDouble: | 1313 case kPPC_MaxDouble: |
| 1308 ASSEMBLE_FLOAT_MAX(kScratchDoubleReg); | 1314 ASSEMBLE_FLOAT_MAX(kScratchDoubleReg); |
| 1309 break; | 1315 break; |
| 1310 case kPPC_MinDouble: | 1316 case kPPC_MinDouble: |
| 1311 ASSEMBLE_FLOAT_MIN(kScratchDoubleReg); | 1317 ASSEMBLE_FLOAT_MIN(kScratchDoubleReg); |
| 1312 break; | 1318 break; |
| 1313 case kPPC_AbsDouble: | 1319 case kPPC_AbsDouble: |
| (...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2224 padding_size -= v8::internal::Assembler::kInstrSize; | 2230 padding_size -= v8::internal::Assembler::kInstrSize; |
| 2225 } | 2231 } |
| 2226 } | 2232 } |
| 2227 } | 2233 } |
| 2228 | 2234 |
| 2229 #undef __ | 2235 #undef __ |
| 2230 | 2236 |
| 2231 } // namespace compiler | 2237 } // namespace compiler |
| 2232 } // namespace internal | 2238 } // namespace internal |
| 2233 } // namespace v8 | 2239 } // namespace v8 |
| OLD | NEW |