Apply LIKELY to correct memory access

extensions
Volodymyr Shymanskyy 5 years ago
parent 066ad8d2ef
commit 1cb909a9b9

@ -692,7 +692,7 @@ d_m3SetRegisterSetSlot (f64, _fp0)
#if defined(d_m3SkipMemoryBoundsCheck)
# define m3MemCheck(x) true
#else
# define m3MemCheck(x) (x)
# define m3MemCheck(x) LIKELY(x)
#endif
#ifdef DEBUG

@ -449,8 +449,8 @@ if args.file:
jsonFiles = args.file
else:
jsonFiles = glob.glob(os.path.join(".", "core", "*.json"))
#jsonFiles = list(map(lambda x: os.path.relpath(x, curDir), jsonFiles))
jsonFiles = list(map(lambda x: os.path.relpath(x, scriptDir), jsonFiles))
jsonFiles.sort()
for fn in jsonFiles:

Loading…
Cancel
Save