mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-24 12:15:34 +00:00
7b52aa7987
Actually enable the global memory barriers if supported by the OS. Because only recent versions of Linux include the support, they are disabled by default. Note that it also has to be disabled for QEMU to run under Wine. Before this patch, rcutorture reports 85 ns/read for my machine, after the patch it reports 12.5 ns/read. On the other hand updates go from 50 *micro*seconds to 20 *milli*seconds. Backports commit a40161cbe9ccbcbab798c3e4d257c4bba99d153a from qemu
15 lines
478 B
Makefile
15 lines
478 B
Makefile
util-obj-y = cutils.o qemu-timer-common.o
|
|
util-obj-$(CONFIG_WIN32) += oslib-win32.o qemu-thread-win32.o
|
|
util-obj-$(CONFIG_POSIX) += oslib-posix.o qemu-thread-posix.o
|
|
util-obj-$(CONFIG_POSIX) += mmap-alloc.o
|
|
util-obj-y += module.o
|
|
util-obj-y += bitmap.o bitops.o
|
|
util-obj-y += error.o
|
|
util-obj-y += cacheinfo.o
|
|
util-obj-y += crc32c.o
|
|
util-obj-y += host-utils.o
|
|
util-obj-y += getauxval.o
|
|
util-obj-y += log.o
|
|
util-obj-y += range.o
|
|
util-obj-$(CONFIG_MEMBARRIER) += sys_membarrier.o
|