History

arm64-gen.c: In load(), do not sign-extend 32-bit VT_CONST.

Edmund Grimley Evans committed 11 years ago

Commit 91633931 parent 8d4c8611 file · +2 −2Browse files

Unified · Split

arm64-gen.c+2−2
@@ -495,8 +495,8 @@ ST_FUNC void load(int r, SValue *sv) · 494 unmodified lines
495 495
496 if (svr == VT_CONST) {496 if (svr == VT_CONST) {
497 if ((svtt & VT_BTYPE) != VT_VOID)497 if ((svtt & VT_BTYPE) != VT_VOID)
498 arm64_movimm(intr(r),498 arm64_movimm(intr(r), arm64_type_size(svtt) == 3 ?
499 arm64_type_size(svtt) == 3 ? sv->c.ull : svcul);499 sv->c.ull : (uint32_t)svcul);
500 return;500 return;
501 }501 }
502 502

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t