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

Unified Diff: src/a64/macro-assembler-a64.h

Issue 194473005: A64: Rename k<Y>RegSize to k<Y>RegSizeInBits, and k<Y>RegSizeInBytes to k<Y>RegSize. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/a64/lithium-codegen-a64.cc ('k') | src/a64/macro-assembler-a64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/a64/macro-assembler-a64.h
diff --git a/src/a64/macro-assembler-a64.h b/src/a64/macro-assembler-a64.h
index f5fa14f7dac1dd3483a981fb631a94bcc5f1c440..f17a372ff645cf7250460ed19ea42eec205328c0 100644
--- a/src/a64/macro-assembler-a64.h
+++ b/src/a64/macro-assembler-a64.h
@@ -531,8 +531,8 @@ class MacroAssembler : public Assembler {
// and pop instructions).
//
// (Push|Pop)SizeRegList allow you to specify the register size as a
- // parameter. Only kXRegSize, kWRegSize, kDRegSize and kSRegSize are
- // supported.
+ // parameter. Only kXRegSizeInBits, kWRegSizeInBits, kDRegSizeInBits and
+ // kSRegSizeInBits are supported.
//
// Otherwise, (Push|Pop)(CPU|X|W|D|S)RegList is preferred.
void PushCPURegList(CPURegList registers);
@@ -547,28 +547,28 @@ class MacroAssembler : public Assembler {
PopCPURegList(CPURegList(type, reg_size, registers));
}
inline void PushXRegList(RegList regs) {
- PushSizeRegList(regs, kXRegSize);
+ PushSizeRegList(regs, kXRegSizeInBits);
}
inline void PopXRegList(RegList regs) {
- PopSizeRegList(regs, kXRegSize);
+ PopSizeRegList(regs, kXRegSizeInBits);
}
inline void PushWRegList(RegList regs) {
- PushSizeRegList(regs, kWRegSize);
+ PushSizeRegList(regs, kWRegSizeInBits);
}
inline void PopWRegList(RegList regs) {
- PopSizeRegList(regs, kWRegSize);
+ PopSizeRegList(regs, kWRegSizeInBits);
}
inline void PushDRegList(RegList regs) {
- PushSizeRegList(regs, kDRegSize, CPURegister::kFPRegister);
+ PushSizeRegList(regs, kDRegSizeInBits, CPURegister::kFPRegister);
}
inline void PopDRegList(RegList regs) {
- PopSizeRegList(regs, kDRegSize, CPURegister::kFPRegister);
+ PopSizeRegList(regs, kDRegSizeInBits, CPURegister::kFPRegister);
}
inline void PushSRegList(RegList regs) {
- PushSizeRegList(regs, kSRegSize, CPURegister::kFPRegister);
+ PushSizeRegList(regs, kSRegSizeInBits, CPURegister::kFPRegister);
}
inline void PopSRegList(RegList regs) {
- PopSizeRegList(regs, kSRegSize, CPURegister::kFPRegister);
+ PopSizeRegList(regs, kSRegSizeInBits, CPURegister::kFPRegister);
}
// Push the specified register 'count' times.
@@ -654,19 +654,19 @@ class MacroAssembler : public Assembler {
//
// Note that unit_size must be specified in bytes. For variants which take a
// Register count, the unit size must be a power of two.
- inline void Claim(uint64_t count, uint64_t unit_size = kXRegSizeInBytes);
+ inline void Claim(uint64_t count, uint64_t unit_size = kXRegSize);
inline void Claim(const Register& count,
- uint64_t unit_size = kXRegSizeInBytes);
- inline void Drop(uint64_t count, uint64_t unit_size = kXRegSizeInBytes);
+ uint64_t unit_size = kXRegSize);
+ inline void Drop(uint64_t count, uint64_t unit_size = kXRegSize);
inline void Drop(const Register& count,
- uint64_t unit_size = kXRegSizeInBytes);
+ uint64_t unit_size = kXRegSize);
// Variants of Claim and Drop, where the 'count' parameter is a SMI held in a
// register.
inline void ClaimBySMI(const Register& count_smi,
- uint64_t unit_size = kXRegSizeInBytes);
+ uint64_t unit_size = kXRegSize);
inline void DropBySMI(const Register& count_smi,
- uint64_t unit_size = kXRegSizeInBytes);
+ uint64_t unit_size = kXRegSize);
// Compare a register with an operand, and branch to label depending on the
// condition. May corrupt the status flags.
« no previous file with comments | « src/a64/lithium-codegen-a64.cc ('k') | src/a64/macro-assembler-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698