Skip to content

Commit fa09f36

Browse files
committed
[aarch64] Fix incorrect lifting of double precision FMOV immediate
1 parent e456f10 commit fa09f36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/arm64/il.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ static ExprId GetFloat(LowLevelILFunction& il, InstructionOperand& operand, int
176176
case 4:
177177
return il.FloatConstSingle(std::bit_cast<float>(static_cast<uint32_t>(operand.immediate)));
178178
case 8:
179-
return il.FloatConstDouble(std::bit_cast<double>(operand.immediate));
179+
return il.FloatConstDouble(std::bit_cast<float>(static_cast<uint32_t>(operand.immediate)));
180180
default:
181181
break;
182182
}

0 commit comments

Comments
 (0)