* Add ARM setup

* Factor what can be into common scripts
This commit is contained in:
Amaury Chamayou
2020-03-20 08:07:12 +00:00
committed by GitHub
parent f301fdd2a0
commit e92fef6e63
5 changed files with 93 additions and 31 deletions

View File

@@ -45,7 +45,7 @@ namespace snmalloc
#ifdef _MSC_VER
__prefetch(ptr);
#else
__asm__ inline("prfm pldl1keep, [%0]" : "=r"(ptr));
__asm__ volatile("prfm pldl1keep, [%0]" : "=r"(ptr));
#endif
}
};