/*BEGIN_LEGAL Intel Open Source License Copyright (c) 2002-2005 Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of the Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INTEL OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. END_LEGAL */ /// @file gen/regs.H /// @author Mark Charney // This file was automatically generated. // Do not edit this file. #ifndef _XEDREG__H_ # define _XEDREG__H_ #if XED_PRINT==1 #include #endif #include "xed-common-hdrs.H" namespace XED { #if XED_PRINT==1 using namespace std; #endif typedef enum { XEDREG_INVALID, XEDREG_RIP, XEDREG_FLAGS, XEDREG_EFLAGS, XEDREG_RFLAGS, XEDREG_RAX, XEDREG_EAX, XEDREG_AX, XEDREG_AL, XEDREG_AH, XEDREG_RCX, XEDREG_ECX, XEDREG_CX, XEDREG_CL, XEDREG_CH, XEDREG_RDX, XEDREG_EDX, XEDREG_DX, XEDREG_DL, XEDREG_DH, XEDREG_RBX, XEDREG_EBX, XEDREG_BX, XEDREG_BL, XEDREG_BH, XEDREG_RSP, XEDREG_ESP, XEDREG_SP, XEDREG_SPL, XEDREG_RBP, XEDREG_EBP, XEDREG_BP, XEDREG_BPL, XEDREG_RSI, XEDREG_ESI, XEDREG_SI, XEDREG_SIL, XEDREG_RDI, XEDREG_EDI, XEDREG_DI, XEDREG_DIL, XEDREG_R8, XEDREG_R8D, XEDREG_R8W, XEDREG_R8B, XEDREG_R9, XEDREG_R9D, XEDREG_R9W, XEDREG_R9B, XEDREG_R10, XEDREG_R10D, XEDREG_R10W, XEDREG_R10B, XEDREG_R11, XEDREG_R11D, XEDREG_R11W, XEDREG_R11B, XEDREG_R12, XEDREG_R12D, XEDREG_R12W, XEDREG_R12B, XEDREG_R13, XEDREG_R13D, XEDREG_R13W, XEDREG_R13B, XEDREG_R14, XEDREG_R14D, XEDREG_R14W, XEDREG_R14B, XEDREG_R15, XEDREG_R15D, XEDREG_R15W, XEDREG_R15B, XEDREG_EIP, XEDREG_IP, XEDREG_CS, XEDREG_DS, XEDREG_ES, XEDREG_FS, XEDREG_GS, XEDREG_SS, XEDREG_XMM0, XEDREG_XMM1, XEDREG_XMM2, XEDREG_XMM3, XEDREG_XMM4, XEDREG_XMM5, XEDREG_XMM6, XEDREG_XMM7, XEDREG_XMM8, XEDREG_XMM9, XEDREG_XMM10, XEDREG_XMM11, XEDREG_XMM12, XEDREG_XMM13, XEDREG_XMM14, XEDREG_XMM15, XEDREG_MMX0, XEDREG_MMX1, XEDREG_MMX2, XEDREG_MMX3, XEDREG_MMX4, XEDREG_MMX5, XEDREG_MMX6, XEDREG_MMX7, XEDREG_ST0, XEDREG_ST1, XEDREG_ST2, XEDREG_ST3, XEDREG_ST4, XEDREG_ST5, XEDREG_ST6, XEDREG_ST7, XEDREG_CR0, XEDREG_CR1, XEDREG_CR2, XEDREG_CR3, XEDREG_CR4, XEDREG_CR5, XEDREG_CR6, XEDREG_CR7, XEDREG_CR8, XEDREG_CR9, XEDREG_CR10, XEDREG_CR11, XEDREG_CR12, XEDREG_CR13, XEDREG_CR14, XEDREG_CR15, XEDREG_DR0, XEDREG_DR1, XEDREG_DR2, XEDREG_DR3, XEDREG_DR4, XEDREG_DR5, XEDREG_DR6, XEDREG_DR7, XEDREG_DR8, XEDREG_DR9, XEDREG_DR10, XEDREG_DR11, XEDREG_DR12, XEDREG_DR13, XEDREG_DR14, XEDREG_DR15, XEDREG_TMP0, XEDREG_TMP1, XEDREG_TMP2, XEDREG_TMP3, XEDREG_TMP4, XEDREG_TMP5, XEDREG_TMP6, XEDREG_TMP7, XEDREG_TMP8, XEDREG_TMP9, XEDREG_TMP10, XEDREG_TMP11, XEDREG_TMP12, XEDREG_TMP13, XEDREG_TMP14, XEDREG_TMP15, XEDREG_LAST } xedregs_t; XED_DLL_EXPORT xedregs_t str2xedregs_t(const char* s); XED_DLL_EXPORT const char* xedregs_t2str(const xedregs_t p); #if XED_PRINT==1 XED_DLL_EXPORT std::ostream& operator<<(std::ostream& o, const xedregs_t& v); XED_DLL_EXPORT std::istream& operator>>(std::istream& o, xedregs_t& v); #endif XED_DLL_EXPORT xedregs_t& operator++(xedregs_t& x, int); XED_DLL_EXPORT xedregs_t& operator--(xedregs_t& x, int); } //namespace #endif #ifndef _XED_GENREG__H_ # define _XED_GENREG__H_ #if XED_PRINT==1 #include #endif #include "xed-common-hdrs.H" namespace XED { #if XED_PRINT==1 using namespace std; #endif typedef enum { XED_GENREG_rAX, XED_GENREG_eAX, XED_GENREG_rCX, XED_GENREG_eCX, XED_GENREG_rDX, XED_GENREG_eDX, XED_GENREG_rBX, XED_GENREG_eBX, XED_GENREG_rSP, XED_GENREG_eSP, XED_GENREG_rBP, XED_GENREG_eBP, XED_GENREG_rSI, XED_GENREG_eSI, XED_GENREG_rDI, XED_GENREG_eDI, XED_GENREG_r8, XED_GENREG_r9, XED_GENREG_r10, XED_GENREG_r11, XED_GENREG_r12, XED_GENREG_r13, XED_GENREG_r14, XED_GENREG_r15, XED_GENREG_rIP, XED_GENREG_eIP, XED_GENREG_rFLAGS, XED_GENREG_eFLAGS, XED_GENREG_INVALID, XED_GENREG_LAST } xed_genreg_t; XED_DLL_EXPORT xed_genreg_t str2xed_genreg_t(const char* s); XED_DLL_EXPORT const char* xed_genreg_t2str(const xed_genreg_t p); #if XED_PRINT==1 XED_DLL_EXPORT std::ostream& operator<<(std::ostream& o, const xed_genreg_t& v); XED_DLL_EXPORT std::istream& operator>>(std::istream& o, xed_genreg_t& v); #endif XED_DLL_EXPORT xed_genreg_t& operator++(xed_genreg_t& x, int); XED_DLL_EXPORT xed_genreg_t& operator--(xed_genreg_t& x, int); } //namespace #endif