Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index d85ba12ec6222e5fee6a0cfab909c337fdad2d6f..df010e04fd1033a445e0dc8e2993bc7257bc4b92 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -2709,6 +2709,26 @@ void MacroAssembler::Ucomisd(XMMRegister src1, const Operand& src2) { |
} |
+void MacroAssembler::Andpd(XMMRegister dst, XMMRegister src) { |
+ if (CpuFeatures::IsSupported(AVX)) { |
+ CpuFeatureScope scope(this, AVX); |
+ vandpd(dst, dst, src); |
+ } else { |
+ andpd(dst, src); |
+ } |
+} |
+ |
+ |
+void MacroAssembler::Orpd(XMMRegister dst, XMMRegister src) { |
+ if (CpuFeatures::IsSupported(AVX)) { |
+ CpuFeatureScope scope(this, AVX); |
+ vorpd(dst, dst, src); |
+ } else { |
+ orpd(dst, src); |
+ } |
+} |
+ |
+ |
void MacroAssembler::Xorpd(XMMRegister dst, XMMRegister src) { |
if (CpuFeatures::IsSupported(AVX)) { |
CpuFeatureScope scope(this, AVX); |