Deleted Added
sdiff udiff text old ( 9023:e9201a7bce59 ) new ( 9024:5851586f399c )
full compact
1/*
2 * Copyright (c) 2012 Google
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 21 unchanged lines hidden (view full) ---

30
31#ifndef __ARCH_ARM_DECODER_HH__
32#define __ARCH_ARM_DECODER_HH__
33
34#include <cassert>
35
36#include "arch/arm/miscregs.hh"
37#include "arch/arm/types.hh"
38#include "base/types.hh"
39#include "cpu/decode_cache.hh"
40
41class ThreadContext;
42
43namespace ArmISA
44{
45
46class Decoder
47{

--- 69 unchanged lines hidden (view full) ---

117
118 int getInstSize() const
119 {
120 return (!emi.thumb || emi.bigThumb) ? 4 : 2;
121 }
122
123 protected:
124 /// A cache of decoded instruction objects.
125 static DecodeCache defaultCache;
126
127 public:
128 StaticInstPtr decodeInst(ExtMachInst mach_inst);
129
130 /// Decode a machine instruction.
131 /// @param mach_inst The binary instruction to decode.
132 /// @retval A pointer to the corresponding StaticInst object.
133 StaticInstPtr

--- 28 unchanged lines hidden ---