19921Syasuko.eckert@amd.com/* 29921Syasuko.eckert@amd.com * Copyright (c) 2012 Mark D. Hill and David A. Wood 39921Syasuko.eckert@amd.com * All rights reserved. 49921Syasuko.eckert@amd.com * 59921Syasuko.eckert@amd.com * The license below extends only to copyright in the software and shall 69921Syasuko.eckert@amd.com * not be construed as granting a license to any other intellectual 79921Syasuko.eckert@amd.com * property including but not limited to intellectual property relating 89921Syasuko.eckert@amd.com * to a hardware implementation of the functionality of the software 99921Syasuko.eckert@amd.com * licensed hereunder. You may use the software subject to the license 109921Syasuko.eckert@amd.com * terms below provided that you ensure that this notice is replicated 119921Syasuko.eckert@amd.com * unmodified and in its entirety in all distributions of the software, 129921Syasuko.eckert@amd.com * modified or unmodified, in source code or in binary form. 139921Syasuko.eckert@amd.com * 149921Syasuko.eckert@amd.com * Redistribution and use in source and binary forms, with or without 159921Syasuko.eckert@amd.com * modification, are permitted provided that the following conditions are 169921Syasuko.eckert@amd.com * met: redistributions of source code must retain the above copyright 179921Syasuko.eckert@amd.com * notice, this list of conditions and the following disclaimer; 189921Syasuko.eckert@amd.com * redistributions in binary form must reproduce the above copyright 199921Syasuko.eckert@amd.com * notice, this list of conditions and the following disclaimer in the 209921Syasuko.eckert@amd.com * documentation and/or other materials provided with the distribution; 219921Syasuko.eckert@amd.com * neither the name of the copyright holders nor the names of its 229921Syasuko.eckert@amd.com * contributors may be used to endorse or promote products derived from 239921Syasuko.eckert@amd.com * this software without specific prior written permission. 249921Syasuko.eckert@amd.com * 259921Syasuko.eckert@amd.com * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 269921Syasuko.eckert@amd.com * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 279921Syasuko.eckert@amd.com * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 289921Syasuko.eckert@amd.com * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 299921Syasuko.eckert@amd.com * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 309921Syasuko.eckert@amd.com * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 319921Syasuko.eckert@amd.com * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 329921Syasuko.eckert@amd.com * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 339921Syasuko.eckert@amd.com * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 349921Syasuko.eckert@amd.com * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 359921Syasuko.eckert@amd.com * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 369921Syasuko.eckert@amd.com * 379921Syasuko.eckert@amd.com * Authors: Nilay Vaish 389921Syasuko.eckert@amd.com */ 399921Syasuko.eckert@amd.com 409921Syasuko.eckert@amd.com#ifndef __ARCH_X86_CCREGS_HH__ 419921Syasuko.eckert@amd.com#define __ARCH_X86_CCREGS_HH__ 429921Syasuko.eckert@amd.com 439921Syasuko.eckert@amd.com#include "arch/x86/x86_traits.hh" 449921Syasuko.eckert@amd.com 459921Syasuko.eckert@amd.comnamespace X86ISA 469921Syasuko.eckert@amd.com{ 479921Syasuko.eckert@amd.com enum CCRegIndex 489921Syasuko.eckert@amd.com { 499921Syasuko.eckert@amd.com CCREG_ZAPS, 509921Syasuko.eckert@amd.com CCREG_CFOF, 519921Syasuko.eckert@amd.com CCREG_DF, 529921Syasuko.eckert@amd.com CCREG_ECF, 539921Syasuko.eckert@amd.com CCREG_EZF, 549921Syasuko.eckert@amd.com 559921Syasuko.eckert@amd.com NUM_CCREGS 569921Syasuko.eckert@amd.com }; 579921Syasuko.eckert@amd.com} 589921Syasuko.eckert@amd.com 599921Syasuko.eckert@amd.com#endif // __ARCH_X86_CCREGS_HH__ 60