reg_class.cc revision 13610
14776Sgblack@eecs.umich.edu/* 24776Sgblack@eecs.umich.edu * Copyright (c) 2016-2017 ARM Limited 34776Sgblack@eecs.umich.edu * All rights reserved 44776Sgblack@eecs.umich.edu * 54776Sgblack@eecs.umich.edu * The license below extends only to copyright in the software and shall 64776Sgblack@eecs.umich.edu * not be construed as granting a license to any other intellectual 74776Sgblack@eecs.umich.edu * property including but not limited to intellectual property relating 84776Sgblack@eecs.umich.edu * to a hardware implementation of the functionality of the software 94776Sgblack@eecs.umich.edu * licensed hereunder. You may use the software subject to the license 104776Sgblack@eecs.umich.edu * terms below provided that you ensure that this notice is replicated 114776Sgblack@eecs.umich.edu * unmodified and in its entirety in all distributions of the software, 124776Sgblack@eecs.umich.edu * modified or unmodified, in source code or in binary form. 134776Sgblack@eecs.umich.edu * 144776Sgblack@eecs.umich.edu * Copyright (c) 2013 Advanced Micro Devices, Inc. 154776Sgblack@eecs.umich.edu * All rights reserved 164776Sgblack@eecs.umich.edu * 174776Sgblack@eecs.umich.edu * Redistribution and use in source and binary forms, with or without 184776Sgblack@eecs.umich.edu * modification, are permitted provided that the following conditions are 194776Sgblack@eecs.umich.edu * met: redistributions of source code must retain the above copyright 204776Sgblack@eecs.umich.edu * notice, this list of conditions and the following disclaimer; 214776Sgblack@eecs.umich.edu * redistributions in binary form must reproduce the above copyright 224776Sgblack@eecs.umich.edu * notice, this list of conditions and the following disclaimer in the 234776Sgblack@eecs.umich.edu * documentation and/or other materials provided with the distribution; 244776Sgblack@eecs.umich.edu * neither the name of the copyright holders nor the names of its 254776Sgblack@eecs.umich.edu * contributors may be used to endorse or promote products derived from 264776Sgblack@eecs.umich.edu * this software without specific prior written permission. 274776Sgblack@eecs.umich.edu * 284776Sgblack@eecs.umich.edu * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 294776Sgblack@eecs.umich.edu * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 304776Sgblack@eecs.umich.edu * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 314776Sgblack@eecs.umich.edu * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 324776Sgblack@eecs.umich.edu * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 334776Sgblack@eecs.umich.edu * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 344776Sgblack@eecs.umich.edu * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 354776Sgblack@eecs.umich.edu * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 364776Sgblack@eecs.umich.edu * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 374776Sgblack@eecs.umich.edu * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 384776Sgblack@eecs.umich.edu * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 394776Sgblack@eecs.umich.edu * 404776Sgblack@eecs.umich.edu * Authors: Steve Reinhardt 414776Sgblack@eecs.umich.edu */ 424776Sgblack@eecs.umich.edu 434776Sgblack@eecs.umich.edu#include "cpu/reg_class.hh" 444776Sgblack@eecs.umich.edu 454776Sgblack@eecs.umich.educonst char *RegId::regClassStrings[] = { 464776Sgblack@eecs.umich.edu "IntRegClass", 474776Sgblack@eecs.umich.edu "FloatRegClass", 484776Sgblack@eecs.umich.edu "VecRegClass", 494776Sgblack@eecs.umich.edu "VecElemClass", 504776Sgblack@eecs.umich.edu "VecPredRegClass", 514776Sgblack@eecs.umich.edu "CCRegClass", 524776Sgblack@eecs.umich.edu "MiscRegClass" 534776Sgblack@eecs.umich.edu}; 544776Sgblack@eecs.umich.edu 554776Sgblack@eecs.umich.edu