decoder.isa revision 10611
1695SN/A// -*- mode:c++ -*- 21762SN/A 3695SN/A// Copyright (c) 2010-2011 ARM Limited 4695SN/A// All rights reserved 5695SN/A// 6695SN/A// The license below extends only to copyright in the software and shall 7695SN/A// not be construed as granting a license to any other intellectual 8695SN/A// property including but not limited to intellectual property relating 9695SN/A// to a hardware implementation of the functionality of the software 10695SN/A// licensed hereunder. You may use the software subject to the license 11695SN/A// terms below provided that you ensure that this notice is replicated 12695SN/A// unmodified and in its entirety in all distributions of the software, 13695SN/A// modified or unmodified, in source code or in binary form. 14695SN/A// 15695SN/A// Copyright (c) 2009 The Regents of The University of Michigan 16695SN/A// All rights reserved. 17695SN/A// 18695SN/A// Redistribution and use in source and binary forms, with or without 19695SN/A// modification, are permitted provided that the following conditions are 20695SN/A// met: redistributions of source code must retain the above copyright 21695SN/A// notice, this list of conditions and the following disclaimer; 22695SN/A// redistributions in binary form must reproduce the above copyright 23695SN/A// notice, this list of conditions and the following disclaimer in the 24695SN/A// documentation and/or other materials provided with the distribution; 25695SN/A// neither the name of the copyright holders nor the names of its 26695SN/A// contributors may be used to endorse or promote products derived from 272665Ssaidi@eecs.umich.edu// this software without specific prior written permission. 282665Ssaidi@eecs.umich.edu// 29695SN/A// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 30695SN/A// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 31873SN/A// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 32873SN/A// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 33873SN/A// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 34873SN/A// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 353918Ssaidi@eecs.umich.edu// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 363918Ssaidi@eecs.umich.edu// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 373918Ssaidi@eecs.umich.edu// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 383918Ssaidi@eecs.umich.edu// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 39695SN/A// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 402621SN/A// 41695SN/A// Authors: Gabe Black 42695SN/A 43695SN/Adecode DECODERFAULT default DecoderFault::decoderFault() { 44695SN/A 0: decode THUMB default Unknown::unknown() { 45695SN/A 0: decode AARCH64 { 46695SN/A 0: 47695SN/A ##include "arm.isa" 48695SN/A 1: 49695SN/A ##include "aarch64.isa" 50695SN/A } 51695SN/A 1: 52695SN/A ##include "thumb.isa" 53695SN/A } 54695SN/A} 55695SN/A