Fix arm64 compilation

arm64-gen.c:
- Remove VT_NONCONST in load

tests/tests2/Makefile:
- Fix typo test 127
This commit is contained in:
herman ten brugge 2022-08-16 17:54:42 +02:00
parent aa9093a144
commit 90b68cbd58
2 changed files with 2 additions and 2 deletions

View File

@ -487,7 +487,7 @@ static void arm64_load_cmp(int r, SValue *sv);
ST_FUNC void load(int r, SValue *sv) ST_FUNC void load(int r, SValue *sv)
{ {
int svtt = sv->type.t; int svtt = sv->type.t;
int svr = sv->r & ~VT_BOUNDED; int svr = sv->r & ~(VT_BOUNDED | VT_NONCONST);
int svrv = svr & VT_VALMASK; int svrv = svr & VT_VALMASK;
uint64_t svcul = (uint32_t)sv->c.i; uint64_t svcul = (uint32_t)sv->c.i;
svcul = svcul >> 31 & 1 ? svcul - ((uint64_t)1 << 32) : svcul; svcul = svcul >> 31 & 1 ? svcul - ((uint64_t)1 << 32) : svcul;

View File

@ -25,7 +25,7 @@ ifeq (,$(filter i386 x86_64,$(ARCH)))
SKIP += 85_asm-outside-function.test # x86 asm SKIP += 85_asm-outside-function.test # x86 asm
SKIP += 124_atomic_counter.test SKIP += 124_atomic_counter.test
SKIP += 125_atomic_misc.test # currently only x86 supported SKIP += 125_atomic_misc.test # currently only x86 supported
SKIP += 127_asm_goto.text # hardcodes x86 asm SKIP += 127_asm_goto.test # hardcodes x86 asm
endif endif
ifeq ($(CONFIG_backtrace),no) ifeq ($(CONFIG_backtrace),no)
SKIP += 113_btdll.test SKIP += 113_btdll.test