Index: src/ia32/assembler-ia32.h |
=================================================================== |
--- src/ia32/assembler-ia32.h (revision 3937) |
+++ src/ia32/assembler-ia32.h (working copy) |
@@ -93,7 +93,7 @@ |
struct XMMRegister { |
- bool is_valid() const { return 0 <= code_ && code_ < 2; } // currently |
+ bool is_valid() const { return 0 <= code_ && code_ < 8; } |
int code() const { |
ASSERT(is_valid()); |
return code_; |
@@ -620,6 +620,8 @@ |
void shr(Register dst, uint8_t imm8); |
void shr_cl(Register dst); |
+ void sqrt(XMMRegister dst, XMMRegister src); |
+ |
void subb(const Operand& dst, int8_t imm8); |
void subb(Register dst, const Operand& src); |
void sub(const Operand& dst, const Immediate& x); |
@@ -754,6 +756,7 @@ |
void cvttsd2si(Register dst, const Operand& src); |
void cvtsi2sd(XMMRegister dst, const Operand& src); |
+ void cvtss2sd(XMMRegister dst, XMMRegister src); |
void addsd(XMMRegister dst, XMMRegister src); |
void subsd(XMMRegister dst, XMMRegister src); |
@@ -772,6 +775,12 @@ |
void movdbl(XMMRegister dst, const Operand& src); |
void movdbl(const Operand& dst, XMMRegister src); |
+ void movd(XMMRegister dst, const Operand& src); |
+ void movsd(XMMRegister dst, XMMRegister src); |
+ |
+ void pxor(XMMRegister dst, XMMRegister src); |
+ void ptest(XMMRegister dst, XMMRegister src); |
+ |
// Debugging |
void Print(); |