// Copyright 2013 Dolphin Emulator Project1// Licensed under GPLv22// Refer to the license.txt file included.34#pragma once56#include "CommonTypes.h"78enum CCFlags9{10CC_EQ = 0, // Equal11CC_NEQ, // Not equal12CC_CS, // Carry Set13CC_CC, // Carry Clear14CC_MI, // Minus (Negative)15CC_PL, // Plus16CC_VS, // Overflow17CC_VC, // No Overflow18CC_HI, // Unsigned higher19CC_LS, // Unsigned lower or same20CC_GE, // Signed greater than or equal21CC_LT, // Signed less than22CC_GT, // Signed greater than23CC_LE, // Signed less than or equal24CC_AL, // Always (unconditional) 1425CC_HS = CC_CS, // Alias of CC_CS Unsigned higher or same26CC_LO = CC_CC, // Alias of CC_CC Unsigned lower27};28const u32 NO_COND = 0xE0000000;2930inline CCFlags InvertCond(CCFlags fl) {31int x = (int)fl;32x ^= 1;33return (CCFlags)x;34}3536