1/* 2 * Copyright (c) 2012-2014 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 27 unchanged lines hidden (view full) --- 36 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 37 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 38 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 39 * 40 * Authors: Gabe Black 41 */ 42 43#include "arch/arm/decoder.hh" |
44 45#include "arch/arm/isa.hh" |
46#include "arch/arm/isa_traits.hh" 47#include "arch/arm/utility.hh" 48#include "base/trace.hh" 49#include "debug/Decoder.hh" 50 51namespace ArmISA 52{ 53 54GenericISA::BasicDecodeCache Decoder::defaultCache; 55 |
56Decoder::Decoder(ISA* isa) 57 : data(0), fpscrLen(0), fpscrStride(0), decoderFlavour(isa 58 ? isa->decoderFlavour() 59 : Enums::Generic) |
60{ 61 reset(); 62} 63 64void 65Decoder::reset() 66{ 67 bigThumb = false; --- 124 unchanged lines hidden --- |