arm64-gen: consider VT_LONG|VT_DOUBLE for TOK_NEG

This commit is contained in:
Aleksi Hannula
2026-02-07 12:08:10 +02:00
parent 5ad52cc1ed
commit 4597a9621e

View File

@@ -1863,7 +1863,7 @@ ST_FUNC void gen_opf(int op)
case VT_FLOAT:
case VT_DOUBLE:
gv(RC_FLOAT);
dbl = vtop[0].type.t == VT_DOUBLE;
dbl = (vtop[0].type.t & VT_BTYPE) == VT_DOUBLE;
a = fltr(vtop[0].r);
vtop--;