+ support OPR_FLOATCONSTANT in TInstruction.ConcatInstruction

This commit is contained in:
Nikolay Nikolov 2024-07-20 17:07:21 +03:00
parent e67094ec28
commit 6277c21261

View File

@ -1335,6 +1335,17 @@ end;
OPR_FENCEFLAGS:
ai.loadfenceflags(i-1,fenceflags);
{$endif riscv32 or riscv64}
{$ifdef wasm32}
OPR_FLOATCONSTANT:
case opcode of
a_f32_const:
ai.loadsingle(i-1,floatval);
a_f64_const:
ai.loaddouble(i-1,floatval);
else
internalerror(2024072001);
end;
{$endif wasm32}
{ ignore wrong operand }
OPR_NONE:
;