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

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

Issue 331803003: Emulate MLS on pre-ARMv6T2. Cleaned up thumbee vs. thumb2 confusion. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Cleaned up thumbee vs. thumb2 confusion. Created 6 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 | Annotate | Revision Log
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/frames.h" 9 #include "src/frames.h"
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 void Ret(int drop, Condition cond = al); 111 void Ret(int drop, Condition cond = al);
112 112
113 // Swap two registers. If the scratch register is omitted then a slightly 113 // Swap two registers. If the scratch register is omitted then a slightly
114 // less efficient form using xor instead of mov is emitted. 114 // less efficient form using xor instead of mov is emitted.
115 void Swap(Register reg1, 115 void Swap(Register reg1,
116 Register reg2, 116 Register reg2,
117 Register scratch = no_reg, 117 Register scratch = no_reg,
118 Condition cond = al); 118 Condition cond = al);
119 119
120 120 void Mls(Register dst, Register src1, Register src2, Register srcA,
121 Condition cond = al);
121 void And(Register dst, Register src1, const Operand& src2, 122 void And(Register dst, Register src1, const Operand& src2,
122 Condition cond = al); 123 Condition cond = al);
123 void Ubfx(Register dst, Register src, int lsb, int width, 124 void Ubfx(Register dst, Register src, int lsb, int width,
124 Condition cond = al); 125 Condition cond = al);
125 void Sbfx(Register dst, Register src, int lsb, int width, 126 void Sbfx(Register dst, Register src, int lsb, int width,
126 Condition cond = al); 127 Condition cond = al);
127 // The scratch register is not used for ARMv7. 128 // The scratch register is not used for ARMv7.
128 // scratch can be the same register as src (in which case it is trashed), but 129 // scratch can be the same register as src (in which case it is trashed), but
129 // not the same as dst. 130 // not the same as dst.
130 void Bfi(Register dst, 131 void Bfi(Register dst,
(...skipping 1482 matching lines...) Expand 10 before | Expand all | Expand 10 after
1613 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1614 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1614 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1615 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1615 #else 1616 #else
1616 #define ACCESS_MASM(masm) masm-> 1617 #define ACCESS_MASM(masm) masm->
1617 #endif 1618 #endif
1618 1619
1619 1620
1620 } } // namespace v8::internal 1621 } } // namespace v8::internal
1621 1622
1622 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1623 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | src/cpu.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698