decoder.cc (10611:3bba9f2d0c7d) | decoder.cc (11165:d90aec9435bd) |
---|---|
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" | 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" |
|
44#include "arch/arm/isa_traits.hh" 45#include "arch/arm/utility.hh" 46#include "base/trace.hh" 47#include "debug/Decoder.hh" 48 49namespace ArmISA 50{ 51 52GenericISA::BasicDecodeCache Decoder::defaultCache; 53 | 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 |
54Decoder::Decoder() 55 : data(0), fpscrLen(0), fpscrStride(0) | 56Decoder::Decoder(ISA* isa) 57 : data(0), fpscrLen(0), fpscrStride(0), decoderFlavour(isa 58 ? isa->decoderFlavour() 59 : Enums::Generic) |
56{ 57 reset(); 58} 59 60void 61Decoder::reset() 62{ 63 bigThumb = false; --- 124 unchanged lines hidden --- | 60{ 61 reset(); 62} 63 64void 65Decoder::reset() 66{ 67 bigThumb = false; --- 124 unchanged lines hidden --- |