Index: src/compiler/x64/code-generator-x64.cc |
diff --git a/src/compiler/x64/code-generator-x64.cc b/src/compiler/x64/code-generator-x64.cc |
index dd54431f023527eeb464360794d53228493f4d0c..c4d787b49e651dc96cbe35fe8e69af20c473c9d0 100644 |
--- a/src/compiler/x64/code-generator-x64.cc |
+++ b/src/compiler/x64/code-generator-x64.cc |
@@ -1073,14 +1073,6 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
Label success; |
if (instr->OutputCount() > 1) { |
__ Set(i.OutputRegister(1), 0); |
- __ xorps(kScratchDoubleReg, kScratchDoubleReg); |
- |
- if (instr->InputAt(0)->IsDoubleRegister()) { |
- __ Ucomiss(kScratchDoubleReg, i.InputDoubleRegister(0)); |
- } else { |
- __ Ucomiss(kScratchDoubleReg, i.InputOperand(0)); |
- } |
- __ j(above, &done); |
} |
// There does not exist a Float32ToUint64 instruction, so we have to use |
// the Float32ToInt64 instruction. |
@@ -1124,14 +1116,6 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
Label success; |
if (instr->OutputCount() > 1) { |
__ Set(i.OutputRegister(1), 0); |
- __ xorps(kScratchDoubleReg, kScratchDoubleReg); |
- |
- if (instr->InputAt(0)->IsDoubleRegister()) { |
- __ Ucomisd(kScratchDoubleReg, i.InputDoubleRegister(0)); |
- } else { |
- __ Ucomisd(kScratchDoubleReg, i.InputOperand(0)); |
- } |
- __ j(above, &done); |
} |
// There does not exist a Float64ToUint64 instruction, so we have to use |
// the Float64ToInt64 instruction. |