Browse Source

Fix arm64 compilation

arm64-gen.c:
- Remove VT_NONCONST in load

tests/tests2/Makefile:
- Fix typo test 127
mob
herman ten brugge 10 months ago
parent
commit
90b68cbd58
  1. 2
      arm64-gen.c
  2. 2
      tests/tests2/Makefile

2
arm64-gen.c

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

2
tests/tests2/Makefile

@ -25,7 +25,7 @@ ifeq (,$(filter i386 x86_64,$(ARCH)))
SKIP += 85_asm-outside-function.test # x86 asm
SKIP += 124_atomic_counter.test
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
ifeq ($(CONFIG_backtrace),no)
SKIP += 113_btdll.test

Loading…
Cancel
Save