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

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

Issue 1974903002: [arm] Clean up handling of usat. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 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 | « src/arm/assembler-arm.cc ('k') | 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 // The scratch register is not used for ARMv7. 150 // The scratch register is not used for ARMv7.
151 // scratch can be the same register as src (in which case it is trashed), but 151 // scratch can be the same register as src (in which case it is trashed), but
152 // not the same as dst. 152 // not the same as dst.
153 void Bfi(Register dst, 153 void Bfi(Register dst,
154 Register src, 154 Register src,
155 Register scratch, 155 Register scratch,
156 int lsb, 156 int lsb,
157 int width, 157 int width,
158 Condition cond = al); 158 Condition cond = al);
159 void Bfc(Register dst, Register src, int lsb, int width, Condition cond = al); 159 void Bfc(Register dst, Register src, int lsb, int width, Condition cond = al);
160 void Usat(Register dst, int satpos, const Operand& src,
161 Condition cond = al);
162 160
163 void Call(Label* target); 161 void Call(Label* target);
164 void Push(Register src) { push(src); } 162 void Push(Register src) { push(src); }
165 void Pop(Register dst) { pop(dst); } 163 void Pop(Register dst) { pop(dst); }
166 164
167 // Register move. May do nothing if the registers are identical. 165 // Register move. May do nothing if the registers are identical.
168 void Move(Register dst, Smi* smi) { mov(dst, Operand(smi)); } 166 void Move(Register dst, Smi* smi) { mov(dst, Operand(smi)); }
169 void Move(Register dst, Handle<Object> value); 167 void Move(Register dst, Handle<Object> value);
170 void Move(Register dst, Register src, Condition cond = al); 168 void Move(Register dst, Register src, Condition cond = al);
171 void Move(Register dst, const Operand& src, SBit sbit = LeaveCC, 169 void Move(Register dst, const Operand& src, SBit sbit = LeaveCC,
(...skipping 1407 matching lines...) Expand 10 before | Expand all | Expand 10 after
1579 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1577 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1580 #else 1578 #else
1581 #define ACCESS_MASM(masm) masm-> 1579 #define ACCESS_MASM(masm) masm->
1582 #endif 1580 #endif
1583 1581
1584 1582
1585 } // namespace internal 1583 } // namespace internal
1586 } // namespace v8 1584 } // namespace v8
1587 1585
1588 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1586 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/assembler-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698