2015-05-23 22:55:12 -06:00
|
|
|
// Copyright 2014 Dolphin Emulator Project
|
2021-07-04 19:22:19 -06:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2014-02-04 18:56:23 -07:00
|
|
|
|
2020-12-30 18:53:29 -07:00
|
|
|
#pragma once
|
|
|
|
|
2014-09-10 19:39:19 -06:00
|
|
|
#include "Common/CommonTypes.h"
|
|
|
|
|
2014-02-04 18:56:23 -07:00
|
|
|
enum CCFlags
|
|
|
|
{
|
2016-06-24 02:43:46 -06:00
|
|
|
CC_EQ = 0, // Equal
|
|
|
|
CC_NEQ, // Not equal
|
|
|
|
CC_CS, // Carry Set
|
|
|
|
CC_CC, // Carry Clear
|
|
|
|
CC_MI, // Minus (Negative)
|
|
|
|
CC_PL, // Plus
|
|
|
|
CC_VS, // Overflow
|
|
|
|
CC_VC, // No Overflow
|
|
|
|
CC_HI, // Unsigned higher
|
|
|
|
CC_LS, // Unsigned lower or same
|
|
|
|
CC_GE, // Signed greater than or equal
|
|
|
|
CC_LT, // Signed less than
|
|
|
|
CC_GT, // Signed greater than
|
|
|
|
CC_LE, // Signed less than or equal
|
|
|
|
CC_AL, // Always (unconditional) 14
|
|
|
|
CC_HS = CC_CS, // Alias of CC_CS Unsigned higher or same
|
|
|
|
CC_LO = CC_CC, // Alias of CC_CC Unsigned lower
|
2014-02-04 18:56:23 -07:00
|
|
|
};
|
2020-12-30 18:54:03 -07:00
|
|
|
constexpr u32 NO_COND = 0xE0000000;
|