[x64] Fix Xorps macro.
Review-Url: https://codereview.chromium.org/2161503002 Cr-Commit-Position: refs/heads/master@{#37813}
This commit is contained in:
parent
f6c45c5243
commit
7e4e6c52e6
@ -2877,7 +2877,7 @@ void MacroAssembler::Movmskpd(Register dst, XMMRegister src) {
|
||||
void MacroAssembler::Xorps(XMMRegister dst, XMMRegister src) {
|
||||
if (CpuFeatures::IsSupported(AVX)) {
|
||||
CpuFeatureScope scope(this, AVX);
|
||||
vxorps(dst, kScratchDoubleReg, src);
|
||||
vxorps(dst, dst, src);
|
||||
} else {
|
||||
xorps(dst, src);
|
||||
}
|
||||
@ -2886,7 +2886,7 @@ void MacroAssembler::Xorps(XMMRegister dst, XMMRegister src) {
|
||||
void MacroAssembler::Xorps(XMMRegister dst, const Operand& src) {
|
||||
if (CpuFeatures::IsSupported(AVX)) {
|
||||
CpuFeatureScope scope(this, AVX);
|
||||
vxorps(dst, kScratchDoubleReg, src);
|
||||
vxorps(dst, dst, src);
|
||||
} else {
|
||||
xorps(dst, src);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user