OSDN Git Service

[VM][COMMON][FMTOWNS][VRAM] Add __LIKELY_IF() and __UNLIKELY_IF() to assist compiler...
authorK.Ohta <whatisthis.sowhat@gmail.com>
Tue, 20 Jul 2021 15:29:42 +0000 (00:29 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Tue, 20 Jul 2021 15:29:42 +0000 (00:29 +0900)
commitbb612581fdd0ff4e08f838c51c77c87412adfcc5
tree041277e731284d2026f09762219d219669af18bf
parent920e066478fe74f9c6fd8e264874d55bc0c46353
[VM][COMMON][FMTOWNS][VRAM] Add __LIKELY_IF() and __UNLIKELY_IF() to assist compiler's optimization.

See [read|write]_memory_mapped_io32() and read_memory_mapped_io16() at FMTOWNS::TOWNS_VRAM class.
source/src/common.h
source/src/vm/fmtowns/vram.cpp