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

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

Issue 2039843003: [arm] Support float registers for moves and swaps. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Use __ Move to eliminate pointless moves. Created 4 years, 6 months 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 // Register move. May do nothing if the registers are identical. 163 // Register move. May do nothing if the registers are identical.
164 void Move(Register dst, Smi* smi) { mov(dst, Operand(smi)); } 164 void Move(Register dst, Smi* smi) { mov(dst, Operand(smi)); }
165 void Move(Register dst, Handle<Object> value); 165 void Move(Register dst, Handle<Object> value);
166 void Move(Register dst, Register src, Condition cond = al); 166 void Move(Register dst, Register src, Condition cond = al);
167 void Move(Register dst, const Operand& src, SBit sbit = LeaveCC, 167 void Move(Register dst, const Operand& src, SBit sbit = LeaveCC,
168 Condition cond = al) { 168 Condition cond = al) {
169 if (!src.is_reg() || !src.rm().is(dst) || sbit != LeaveCC) { 169 if (!src.is_reg() || !src.rm().is(dst) || sbit != LeaveCC) {
170 mov(dst, src, sbit, cond); 170 mov(dst, src, sbit, cond);
171 } 171 }
172 } 172 }
173 void Move(SwVfpRegister dst, SwVfpRegister src);
173 void Move(DwVfpRegister dst, DwVfpRegister src); 174 void Move(DwVfpRegister dst, DwVfpRegister src);
174 175
175 void Load(Register dst, const MemOperand& src, Representation r); 176 void Load(Register dst, const MemOperand& src, Representation r);
176 void Store(Register src, const MemOperand& dst, Representation r); 177 void Store(Register src, const MemOperand& dst, Representation r);
177 178
178 // Load an object from the root table. 179 // Load an object from the root table.
179 void LoadRoot(Register destination, 180 void LoadRoot(Register destination,
180 Heap::RootListIndex index, 181 Heap::RootListIndex index,
181 Condition cond = al); 182 Condition cond = al);
182 // Store an object to the root table. 183 // Store an object to the root table.
(...skipping 1392 matching lines...) Expand 10 before | Expand all | Expand 10 after
1575 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1576 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1576 #else 1577 #else
1577 #define ACCESS_MASM(masm) masm-> 1578 #define ACCESS_MASM(masm) masm->
1578 #endif 1579 #endif
1579 1580
1580 1581
1581 } // namespace internal 1582 } // namespace internal
1582 } // namespace v8 1583 } // namespace v8
1583 1584
1584 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1585 #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