111426Smitch.hayenga@arm.com/* 211426Smitch.hayenga@arm.com * Copyright (c) 2014 ARM Limited 311426Smitch.hayenga@arm.com * All rights reserved. 411426Smitch.hayenga@arm.com * 511426Smitch.hayenga@arm.com * Redistribution and use in source and binary forms, with or without 611426Smitch.hayenga@arm.com * modification, are permitted provided that the following conditions are 711426Smitch.hayenga@arm.com * met: redistributions of source code must retain the above copyright 811426Smitch.hayenga@arm.com * notice, this list of conditions and the following disclaimer; 911426Smitch.hayenga@arm.com * redistributions in binary form must reproduce the above copyright 1011426Smitch.hayenga@arm.com * notice, this list of conditions and the following disclaimer in the 1111426Smitch.hayenga@arm.com * documentation and/or other materials provided with the distribution; 1211426Smitch.hayenga@arm.com * neither the name of the copyright holders nor the names of its 1311426Smitch.hayenga@arm.com * contributors may be used to endorse or promote products derived from 1411426Smitch.hayenga@arm.com * this software without specific prior written permission. 1511426Smitch.hayenga@arm.com * 1611426Smitch.hayenga@arm.com * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1711426Smitch.hayenga@arm.com * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1811426Smitch.hayenga@arm.com * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 1911426Smitch.hayenga@arm.com * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 2011426Smitch.hayenga@arm.com * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2111426Smitch.hayenga@arm.com * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2211426Smitch.hayenga@arm.com * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2311426Smitch.hayenga@arm.com * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2411426Smitch.hayenga@arm.com * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2511426Smitch.hayenga@arm.com * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2611426Smitch.hayenga@arm.com * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2711426Smitch.hayenga@arm.com * 2811426Smitch.hayenga@arm.com * Authors: Mitch Hayenga 2911426Smitch.hayenga@arm.com */ 3011426Smitch.hayenga@arm.com 3111426Smitch.hayenga@arm.com#include "cpu/pred/indirect.hh" 32