| //===- subzero/src/IceConditionCodesX8664.h - Condition Codes ---*- C++ -*-===// |
| // The Subzero Code Generator |
| // This file is distributed under the University of Illinois Open Source |
| // License. See LICENSE.TXT for details. |
| //===----------------------------------------------------------------------===// |
| /// \brief Declares the condition codes for x86-64. |
| //===----------------------------------------------------------------------===// |
| #ifndef SUBZERO_SRC_ICECONDITIONCODESX8664_H |
| #define SUBZERO_SRC_ICECONDITIONCODESX8664_H |
| #include "IceInstX8664.def" |
| /// An enum of condition codes used for branches and cmov. The enum value |
| /// should match the value used to encode operands in binary instructions. |
| #define X(val, encode, opp, dump, emit) val = encode, |
| /// An enum of condition codes relevant to the CMPPS instruction. The enum |
| /// value should match the value used to encode operands in binary |
| #define X(val, emit) val, |
| } // end of namespace Ice |
| #endif // SUBZERO_SRC_ICECONDITIONCODESX8664_H |