mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-07 15:08:22 +01:00
Label A32 specific code appropriately
This commit is contained in:
parent
89e9ce8aff
commit
b3c73e2622
58 changed files with 938 additions and 831 deletions
24
src/frontend/ir/cond.h
Normal file
24
src/frontend/ir/cond.h
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
/* This file is part of the dynarmic project.
|
||||
* Copyright (c) 2016 MerryMage
|
||||
* This software may be used and distributed according to the terms of the GNU
|
||||
* General Public License version 2 or any later version.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/common_types.h"
|
||||
|
||||
namespace Dynarmic {
|
||||
namespace IR {
|
||||
|
||||
enum class Cond {
|
||||
EQ, NE, CS, CC, MI, PL, VS, VC, HI, LS, GE, LT, GT, LE, AL, NV,
|
||||
HS = CS, LO = CC,
|
||||
};
|
||||
|
||||
inline Cond invert(Cond c) {
|
||||
return static_cast<Cond>(static_cast<size_t>(c) ^ 1);
|
||||
}
|
||||
|
||||
} // namespace IR
|
||||
} // namespace Dynarmic
|
||||
Loading…
Add table
Add a link
Reference in a new issue