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/arm64/macro-assembler-arm64.h" | 7 #include "src/arm64/macro-assembler-arm64.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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 436 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); |
437 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); | 437 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); |
438 break; | 438 break; |
439 } | 439 } |
440 case kArchRet: | 440 case kArchRet: |
441 AssembleReturn(); | 441 AssembleReturn(); |
442 break; | 442 break; |
443 case kArchStackPointer: | 443 case kArchStackPointer: |
444 __ mov(i.OutputRegister(), masm()->StackPointer()); | 444 __ mov(i.OutputRegister(), masm()->StackPointer()); |
445 break; | 445 break; |
| 446 case kArchFramePointer: |
| 447 __ mov(i.OutputRegister(), fp); |
| 448 break; |
446 case kArchTruncateDoubleToI: | 449 case kArchTruncateDoubleToI: |
447 __ TruncateDoubleToI(i.OutputRegister(), i.InputDoubleRegister(0)); | 450 __ TruncateDoubleToI(i.OutputRegister(), i.InputDoubleRegister(0)); |
448 break; | 451 break; |
449 case kArm64Float64RoundDown: | 452 case kArm64Float64RoundDown: |
450 __ Frintm(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); | 453 __ Frintm(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
451 break; | 454 break; |
452 case kArm64Float64RoundTiesAway: | 455 case kArm64Float64RoundTiesAway: |
453 __ Frinta(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); | 456 __ Frinta(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
454 break; | 457 break; |
455 case kArm64Float64RoundTruncate: | 458 case kArm64Float64RoundTruncate: |
(...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1326 } | 1329 } |
1327 } | 1330 } |
1328 MarkLazyDeoptSite(); | 1331 MarkLazyDeoptSite(); |
1329 } | 1332 } |
1330 | 1333 |
1331 #undef __ | 1334 #undef __ |
1332 | 1335 |
1333 } // namespace compiler | 1336 } // namespace compiler |
1334 } // namespace internal | 1337 } // namespace internal |
1335 } // namespace v8 | 1338 } // namespace v8 |
OLD | NEW |