mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 03:19:29 +02:00
+ support OPR_FLOATCONSTANT in TInstruction.ConcatInstruction
This commit is contained in:
parent
e67094ec28
commit
6277c21261
@ -1335,6 +1335,17 @@ end;
|
|||||||
OPR_FENCEFLAGS:
|
OPR_FENCEFLAGS:
|
||||||
ai.loadfenceflags(i-1,fenceflags);
|
ai.loadfenceflags(i-1,fenceflags);
|
||||||
{$endif riscv32 or riscv64}
|
{$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 }
|
{ ignore wrong operand }
|
||||||
OPR_NONE:
|
OPR_NONE:
|
||||||
;
|
;
|
||||||
|
Loading…
Reference in New Issue
Block a user