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

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

Issue 2722313003: s390: optimize for int 64-bit operation and cleanup (Closed)
Patch Set: Created 3 years, 10 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/s390/disasm-s390.cc ('k') | src/s390/macro-assembler-s390.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/s390/macro-assembler-s390.h
diff --git a/src/s390/macro-assembler-s390.h b/src/s390/macro-assembler-s390.h
index a3b57e9d4fa406bfb4cec9faaed3606313dcadc4..60be4c68945bbaf333541e8f216c5867880890f4 100644
--- a/src/s390/macro-assembler-s390.h
+++ b/src/s390/macro-assembler-s390.h
@@ -342,18 +342,22 @@ class MacroAssembler : public Assembler {
void DivP(Register dividend, Register divider);
void Div32(Register dst, Register src1, const MemOperand& src2);
void Div32(Register dst, Register src1, Register src2);
- void Div32(Register dst, Register src1, const Operand& src2);
void DivU32(Register dst, Register src1, const MemOperand& src2);
void DivU32(Register dst, Register src1, Register src2);
- void DivU32(Register dst, Register src1, const Operand& src2);
+ void Div64(Register dst, Register src1, const MemOperand& src2);
+ void Div64(Register dst, Register src1, Register src2);
+ void DivU64(Register dst, Register src1, const MemOperand& src2);
+ void DivU64(Register dst, Register src1, Register src2);
// Mod
void Mod32(Register dst, Register src1, const MemOperand& src2);
void Mod32(Register dst, Register src1, Register src2);
- void Mod32(Register dst, Register src1, const Operand& src2);
void ModU32(Register dst, Register src1, const MemOperand& src2);
void ModU32(Register dst, Register src1, Register src2);
- void ModU32(Register dst, Register src1, const Operand& src2);
+ void Mod64(Register dst, Register src1, const MemOperand& src2);
+ void Mod64(Register dst, Register src1, Register src2);
+ void ModU64(Register dst, Register src1, const MemOperand& src2);
+ void ModU64(Register dst, Register src1, Register src2);
// Square root
void Sqrt(DoubleRegister result, DoubleRegister input);
@@ -408,6 +412,25 @@ class MacroAssembler : public Assembler {
void LoadFloat32(DoubleRegister dst, const MemOperand& opnd);
void LoadFloat32ConvertToDouble(DoubleRegister dst, const MemOperand& mem);
+ void AddFloat32(DoubleRegister dst, const MemOperand& opnd,
+ DoubleRegister scratch);
+ void AddFloat64(DoubleRegister dst, const MemOperand& opnd,
+ DoubleRegister scratch);
+ void SubFloat32(DoubleRegister dst, const MemOperand& opnd,
+ DoubleRegister scratch);
+ void SubFloat64(DoubleRegister dst, const MemOperand& opnd,
+ DoubleRegister scratch);
+ void MulFloat32(DoubleRegister dst, const MemOperand& opnd,
+ DoubleRegister scratch);
+ void MulFloat64(DoubleRegister dst, const MemOperand& opnd,
+ DoubleRegister scratch);
+ void DivFloat32(DoubleRegister dst, const MemOperand& opnd,
+ DoubleRegister scratch);
+ void DivFloat64(DoubleRegister dst, const MemOperand& opnd,
+ DoubleRegister scratch);
+ void LoadFloat32ToDouble(DoubleRegister dst, const MemOperand& opnd,
+ DoubleRegister scratch);
+
// Load On Condition
void LoadOnConditionP(Condition cond, Register dst, Register src);
« no previous file with comments | « src/s390/disasm-s390.cc ('k') | src/s390/macro-assembler-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698