reg_class.cc revision 9920:028e4da64b42
17584SAli.Saidi@arm.com/* 27584SAli.Saidi@arm.com * Copyright (c) 2013 Advanced Micro Devices, Inc. 37584SAli.Saidi@arm.com * All rights reserved 47584SAli.Saidi@arm.com * 57584SAli.Saidi@arm.com * Redistribution and use in source and binary forms, with or without 67584SAli.Saidi@arm.com * modification, are permitted provided that the following conditions are 77584SAli.Saidi@arm.com * met: redistributions of source code must retain the above copyright 87584SAli.Saidi@arm.com * notice, this list of conditions and the following disclaimer; 97584SAli.Saidi@arm.com * redistributions in binary form must reproduce the above copyright 107584SAli.Saidi@arm.com * notice, this list of conditions and the following disclaimer in the 117584SAli.Saidi@arm.com * documentation and/or other materials provided with the distribution; 127584SAli.Saidi@arm.com * neither the name of the copyright holders nor the names of its 137584SAli.Saidi@arm.com * contributors may be used to endorse or promote products derived from 147584SAli.Saidi@arm.com * this software without specific prior written permission. 157584SAli.Saidi@arm.com * 167584SAli.Saidi@arm.com * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 177584SAli.Saidi@arm.com * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 187584SAli.Saidi@arm.com * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 197584SAli.Saidi@arm.com * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 207584SAli.Saidi@arm.com * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 217584SAli.Saidi@arm.com * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 227584SAli.Saidi@arm.com * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 237584SAli.Saidi@arm.com * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 247584SAli.Saidi@arm.com * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 257584SAli.Saidi@arm.com * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 267584SAli.Saidi@arm.com * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 277584SAli.Saidi@arm.com * 287584SAli.Saidi@arm.com * Authors: Steve Reinhardt 297584SAli.Saidi@arm.com */ 307584SAli.Saidi@arm.com 317584SAli.Saidi@arm.com#include "cpu/reg_class.hh" 327584SAli.Saidi@arm.com 337584SAli.Saidi@arm.comconst char *RegClassStrings[] = { 347584SAli.Saidi@arm.com "IntRegClass", 357584SAli.Saidi@arm.com "FloatRegClass", 367584SAli.Saidi@arm.com "CCRegClass", 377584SAli.Saidi@arm.com "MiscRegClass" 387584SAli.Saidi@arm.com}; 397584SAli.Saidi@arm.com