Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(643)

Side by Side Diff: src/arm/macro-assembler-arm.h

Issue 2505003002: Revert of [Turbofan] CodeGenerator for ARM avoids moves from VFP to general regs. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_
6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 542
543 void Vmov(const DwVfpRegister dst, 543 void Vmov(const DwVfpRegister dst,
544 const double imm, 544 const double imm,
545 const Register scratch = no_reg); 545 const Register scratch = no_reg);
546 546
547 void VmovHigh(Register dst, DwVfpRegister src); 547 void VmovHigh(Register dst, DwVfpRegister src);
548 void VmovHigh(DwVfpRegister dst, Register src); 548 void VmovHigh(DwVfpRegister dst, Register src);
549 void VmovLow(Register dst, DwVfpRegister src); 549 void VmovLow(Register dst, DwVfpRegister src);
550 void VmovLow(DwVfpRegister dst, Register src); 550 void VmovLow(DwVfpRegister dst, Register src);
551 551
552 // Simulate s-register moves and swaps for imaginary s32 - s63 registers. 552 // Simulate s-register moves for imaginary s32 - s63 registers.
553 void VmovExtended(int dst_code, int src_code); 553 void VmovExtended(Register dst, int src_code);
554 void VmovExtended(int dst_code, const MemOperand& src); 554 void VmovExtended(int dst_code, Register src);
555 void VmovExtended(const MemOperand& dst, int src_code); 555 // Move between s-registers and imaginary s-registers.
556 void VswpExtended(int dst_code, int src_code); 556 void VmovExtended(int dst_code, int src_code, Register scratch);
557 void VswpExtended(const MemOperand& dst, int src_code); 557 void VmovExtended(int dst_code, const MemOperand& src, Register scratch);
558 void VmovExtended(const MemOperand& dst, int src_code, Register scratch);
558 559
559 void LslPair(Register dst_low, Register dst_high, Register src_low, 560 void LslPair(Register dst_low, Register dst_high, Register src_low,
560 Register src_high, Register scratch, Register shift); 561 Register src_high, Register scratch, Register shift);
561 void LslPair(Register dst_low, Register dst_high, Register src_low, 562 void LslPair(Register dst_low, Register dst_high, Register src_low,
562 Register src_high, uint32_t shift); 563 Register src_high, uint32_t shift);
563 void LsrPair(Register dst_low, Register dst_high, Register src_low, 564 void LsrPair(Register dst_low, Register dst_high, Register src_low,
564 Register src_high, Register scratch, Register shift); 565 Register src_high, Register scratch, Register shift);
565 void LsrPair(Register dst_low, Register dst_high, Register src_low, 566 void LsrPair(Register dst_low, Register dst_high, Register src_low,
566 Register src_high, uint32_t shift); 567 Register src_high, uint32_t shift);
567 void AsrPair(Register dst_low, Register dst_high, Register src_low, 568 void AsrPair(Register dst_low, Register dst_high, Register src_low,
(...skipping 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after
1590 inline MemOperand NativeContextMemOperand() { 1591 inline MemOperand NativeContextMemOperand() {
1591 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); 1592 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX);
1592 } 1593 }
1593 1594
1594 #define ACCESS_MASM(masm) masm-> 1595 #define ACCESS_MASM(masm) masm->
1595 1596
1596 } // namespace internal 1597 } // namespace internal
1597 } // namespace v8 1598 } // namespace v8
1598 1599
1599 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1600 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698