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

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

Issue 2497483002: [Turbofan] CodeGenerator for ARM avoids moves from VFP to general regs. (Closed)
Patch Set: Fix bug in VswpExtended. 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 for imaginary s32 - s63 registers. 552 // Simulate s-register moves and swaps for imaginary s32 - s63 registers.
553 void VmovExtended(Register dst, int src_code); 553 void VmovExtended(int dst_code, int src_code);
554 void VmovExtended(int dst_code, Register src); 554 void VmovExtended(int dst_code, const MemOperand& src);
555 // Move between s-registers and imaginary s-registers. 555 void VmovExtended(const MemOperand& dst, int src_code);
556 void VmovExtended(int dst_code, int src_code, Register scratch); 556 void VswpExtended(int dst_code, int src_code);
557 void VmovExtended(int dst_code, const MemOperand& src, Register scratch); 557 void VswpExtended(const MemOperand& dst, int src_code);
558 void VmovExtended(const MemOperand& dst, int src_code, Register scratch);
559 558
560 void LslPair(Register dst_low, Register dst_high, Register src_low, 559 void LslPair(Register dst_low, Register dst_high, Register src_low,
561 Register src_high, Register scratch, Register shift); 560 Register src_high, Register scratch, Register shift);
562 void LslPair(Register dst_low, Register dst_high, Register src_low, 561 void LslPair(Register dst_low, Register dst_high, Register src_low,
563 Register src_high, uint32_t shift); 562 Register src_high, uint32_t shift);
564 void LsrPair(Register dst_low, Register dst_high, Register src_low, 563 void LsrPair(Register dst_low, Register dst_high, Register src_low,
565 Register src_high, Register scratch, Register shift); 564 Register src_high, Register scratch, Register shift);
566 void LsrPair(Register dst_low, Register dst_high, Register src_low, 565 void LsrPair(Register dst_low, Register dst_high, Register src_low,
567 Register src_high, uint32_t shift); 566 Register src_high, uint32_t shift);
568 void AsrPair(Register dst_low, Register dst_high, Register src_low, 567 void AsrPair(Register dst_low, Register dst_high, Register src_low,
(...skipping 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after
1591 inline MemOperand NativeContextMemOperand() { 1590 inline MemOperand NativeContextMemOperand() {
1592 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); 1591 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX);
1593 } 1592 }
1594 1593
1595 #define ACCESS_MASM(masm) masm-> 1594 #define ACCESS_MASM(masm) masm->
1596 1595
1597 } // namespace internal 1596 } // namespace internal
1598 } // namespace v8 1597 } // namespace v8
1599 1598
1600 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1599 #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