mirror of
git://repo.or.cz/tinycc.git
synced 2026-06-20 20:04:20 +08:00
arm64-gen: consider VT_LONG|VT_DOUBLE for TOK_NEG
This commit is contained in:
parent
5ad52cc1ed
commit
4597a9621e
@ -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--;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user