Index: src/x64/assembler-x64.h |
diff --git a/src/x64/assembler-x64.h b/src/x64/assembler-x64.h |
index 87ec1eb6b6b1529361f2e6680a849bc4d3be4399..bf3572dc548c3e2ee99867471a5a89840294c8ca 100644 |
--- a/src/x64/assembler-x64.h |
+++ b/src/x64/assembler-x64.h |
@@ -1144,6 +1144,11 @@ class Assembler : public AssemblerBase { |
void punpckldq(XMMRegister dst, XMMRegister src); |
void punpckhdq(XMMRegister dst, XMMRegister src); |
+ void maxsd(XMMRegister dst, XMMRegister src); |
+ void maxsd(XMMRegister dst, const Operand& src); |
+ void minsd(XMMRegister dst, XMMRegister src); |
+ void minsd(XMMRegister dst, const Operand& src); |
+ |
// SSE 4.1 instruction |
void extractps(Register dst, XMMRegister src, byte imm8); |
@@ -1329,6 +1334,18 @@ class Assembler : public AssemblerBase { |
void vdivsd(XMMRegister dst, XMMRegister src1, const Operand& src2) { |
vsd(0x5e, dst, src1, src2); |
} |
+ void vmaxsd(XMMRegister dst, XMMRegister src1, XMMRegister src2) { |
+ vsd(0x5f, dst, src1, src2); |
+ } |
+ void vmaxsd(XMMRegister dst, XMMRegister src1, const Operand& src2) { |
+ vsd(0x5f, dst, src1, src2); |
+ } |
+ void vminsd(XMMRegister dst, XMMRegister src1, XMMRegister src2) { |
+ vsd(0x5d, dst, src1, src2); |
+ } |
+ void vminsd(XMMRegister dst, XMMRegister src1, const Operand& src2) { |
+ vsd(0x5d, dst, src1, src2); |
+ } |
void vsd(byte op, XMMRegister dst, XMMRegister src1, XMMRegister src2); |
void vsd(byte op, XMMRegister dst, XMMRegister src1, const Operand& src2); |