mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 08:21:29 +12:00
Use attributes for LIKELY/UNLIKELY
Remove LIKELY/UNLIKELY macro.
This commit is contained in:
parent
49e11b7cfd
commit
c0f80cfe7a
56 changed files with 482 additions and 493 deletions
|
@ -299,7 +299,7 @@ spu_function_t spu_recompiler::compile(spu_program&& _func)
|
|||
{
|
||||
const u32 cmask = get_code_mask(j, j + 64);
|
||||
|
||||
if (UNLIKELY(cmask == 0))
|
||||
if (cmask == 0) [[unlikely]]
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
@ -424,7 +424,7 @@ spu_function_t spu_recompiler::compile(spu_program&& _func)
|
|||
{
|
||||
const u32 cmask = get_code_mask(j, j + 32);
|
||||
|
||||
if (UNLIKELY(cmask == 0))
|
||||
if (cmask == 0) [[unlikely]]
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
@ -549,7 +549,7 @@ spu_function_t spu_recompiler::compile(spu_program&& _func)
|
|||
{
|
||||
const u32 cmask = get_code_mask(j, j + 32);
|
||||
|
||||
if (UNLIKELY(cmask == 0))
|
||||
if (cmask == 0) [[unlikely]]
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
@ -646,7 +646,7 @@ spu_function_t spu_recompiler::compile(spu_program&& _func)
|
|||
{
|
||||
const u32 cmask = get_code_mask(j, j + 16);
|
||||
|
||||
if (UNLIKELY(cmask == 0))
|
||||
if (cmask == 0) [[unlikely]]
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue