diff --git a/rpcs3/Emu/Cell/PPUTranslator.cpp b/rpcs3/Emu/Cell/PPUTranslator.cpp index 42b1f39b7d..2479e2ec5e 100644 --- a/rpcs3/Emu/Cell/PPUTranslator.cpp +++ b/rpcs3/Emu/Cell/PPUTranslator.cpp @@ -1110,8 +1110,6 @@ void PPUTranslator::VPKUWUS(ppu_opcode_t op) void PPUTranslator::VREFP(ppu_opcode_t op) { const auto result = m_ir->CreateFDiv(ConstantVector::getSplat(4, ConstantFP::get(GetType(), 1.0)), GetVr(op.vb, VrType::vf)); - FastMathFlags x; x.setAllowReciprocal(); - cast(result)->setFastMathFlags(x); SetVr(op.vd, result); } @@ -1156,8 +1154,6 @@ void PPUTranslator::VRLW(ppu_opcode_t op) void PPUTranslator::VRSQRTEFP(ppu_opcode_t op) { const auto result = m_ir->CreateFDiv(ConstantVector::getSplat(4, ConstantFP::get(GetType(), 1.0)), Call(GetType(), "llvm.sqrt.v4f32", GetVr(op.vb, VrType::vf))); - FastMathFlags x; x.setAllowReciprocal(); - cast(result)->setFastMathFlags(x); SetVr(op.vd, result); } @@ -3314,8 +3310,6 @@ void PPUTranslator::FRES(ppu_opcode_t op) { const auto b = GetFpr(op.frb, 32); const auto result = m_ir->CreateFDiv(ConstantFP::get(GetType(), 1.0), b); - FastMathFlags x; x.setAllowReciprocal(); - cast(result)->setFastMathFlags(x); SetFpr(op.frd, result); //m_ir->CreateStore(GetUndef(), m_fpscr_fr); @@ -3635,8 +3629,6 @@ void PPUTranslator::FRSQRTE(ppu_opcode_t op) { const auto b = GetFpr(op.frb, 32); const auto result = m_ir->CreateFDiv(ConstantFP::get(GetType(), 1.0), Call(GetType(), "llvm.sqrt.f32", b)); - FastMathFlags x; x.setAllowReciprocal(); - cast(result)->setFastMathFlags(x); SetFpr(op.frd, result); //m_ir->CreateStore(GetUndef(), m_fpscr_fr);