arm64-gen.c: In load(), do not sign-extend 32-bit VT_CONST.
This commit is contained in:
parent
8d4c861144
commit
9163393476
1 changed files with 2 additions and 2 deletions
|
@ -495,8 +495,8 @@ ST_FUNC void load(int r, SValue *sv)
|
||||||
|
|
||||||
if (svr == VT_CONST) {
|
if (svr == VT_CONST) {
|
||||||
if ((svtt & VT_BTYPE) != VT_VOID)
|
if ((svtt & VT_BTYPE) != VT_VOID)
|
||||||
arm64_movimm(intr(r),
|
arm64_movimm(intr(r), arm64_type_size(svtt) == 3 ?
|
||||||
arm64_type_size(svtt) == 3 ? sv->c.ull : svcul);
|
sv->c.ull : (uint32_t)svcul);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue