Chromium Code Reviews

Unified Diff: src/assembler_ia32.h

Issue 634333002: emitIAS for fld and fstp (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: handle st(0) Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « src/IceRegistersX8632.h ('k') | src/assembler_ia32.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/assembler_ia32.h
diff --git a/src/assembler_ia32.h b/src/assembler_ia32.h
index 0080f33178bb0c2dae2ca1a9eb975faedce9da11..c6f504c8226fccf231ba1847f0d7a6c617d245a7 100644
--- a/src/assembler_ia32.h
+++ b/src/assembler_ia32.h
@@ -36,6 +36,7 @@ class ConstantRelocatable;
using RegX8632::GPRRegister;
using RegX8632::XmmRegister;
using RegX8632::ByteRegister;
+using RegX8632::X87STRegister;
namespace x86 {
@@ -446,9 +447,9 @@ public:
void rep_movsb();
- void movss(XmmRegister dst, const Address &src);
- void movss(const Address &dst, XmmRegister src);
- void movss(XmmRegister dst, XmmRegister src);
+ void movss(Type Ty, XmmRegister dst, const Address &src);
+ void movss(Type Ty, const Address &dst, XmmRegister src);
+ void movss(Type Ty, XmmRegister dst, XmmRegister src);
void movd(XmmRegister dst, GPRRegister src);
void movd(XmmRegister dst, const Address &src);
@@ -468,10 +469,6 @@ public:
void divss(Type Ty, XmmRegister dst, XmmRegister src);
void divss(Type Ty, XmmRegister dst, const Address &src);
- void movsd(XmmRegister dst, const Address &src);
- void movsd(const Address &dst, XmmRegister src);
- void movsd(XmmRegister dst, XmmRegister src);
-
void movaps(XmmRegister dst, XmmRegister src);
void movups(XmmRegister dst, XmmRegister src);
@@ -590,11 +587,9 @@ public:
};
void roundsd(XmmRegister dst, XmmRegister src, RoundingMode mode);
- void flds(const Address &src);
- void fstps(const Address &dst);
-
- void fldl(const Address &src);
- void fstpl(const Address &dst);
+ void fld(Type Ty, const Address &src);
+ void fstp(Type Ty, const Address &dst);
+ void fstp(X87STRegister st);
void fnstcw(const Address &dst);
void fldcw(const Address &src);
« no previous file with comments | « src/IceRegistersX8632.h ('k') | src/assembler_ia32.cpp » ('j') | no next file with comments »

Powered by Google App Engine