13268Sgblack@eecs.umich.edu// -*- mode:c++ -*- 23268Sgblack@eecs.umich.edu 33268Sgblack@eecs.umich.edu// Copyright (c) 2003-2005 The Regents of The University of Michigan 43268Sgblack@eecs.umich.edu// All rights reserved. 53268Sgblack@eecs.umich.edu// 63268Sgblack@eecs.umich.edu// Redistribution and use in source and binary forms, with or without 73268Sgblack@eecs.umich.edu// modification, are permitted provided that the following conditions are 83268Sgblack@eecs.umich.edu// met: redistributions of source code must retain the above copyright 93268Sgblack@eecs.umich.edu// notice, this list of conditions and the following disclaimer; 103268Sgblack@eecs.umich.edu// redistributions in binary form must reproduce the above copyright 113268Sgblack@eecs.umich.edu// notice, this list of conditions and the following disclaimer in the 123268Sgblack@eecs.umich.edu// documentation and/or other materials provided with the distribution; 133268Sgblack@eecs.umich.edu// neither the name of the copyright holders nor the names of its 143268Sgblack@eecs.umich.edu// contributors may be used to endorse or promote products derived from 153268Sgblack@eecs.umich.edu// this software without specific prior written permission. 163268Sgblack@eecs.umich.edu// 173268Sgblack@eecs.umich.edu// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 183268Sgblack@eecs.umich.edu// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 193268Sgblack@eecs.umich.edu// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 203268Sgblack@eecs.umich.edu// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 213268Sgblack@eecs.umich.edu// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 223268Sgblack@eecs.umich.edu// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 233268Sgblack@eecs.umich.edu// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 243268Sgblack@eecs.umich.edu// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 253268Sgblack@eecs.umich.edu// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 263268Sgblack@eecs.umich.edu// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 273268Sgblack@eecs.umich.edu// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 283268Sgblack@eecs.umich.edu// 293268Sgblack@eecs.umich.edu// Authors: Steve Reinhardt 303268Sgblack@eecs.umich.edu 313268Sgblack@eecs.umich.edu//////////////////////////////////////////////////////////////////// 323268Sgblack@eecs.umich.edu// 333268Sgblack@eecs.umich.edu// Unimplemented instructions 343268Sgblack@eecs.umich.edu// 353268Sgblack@eecs.umich.edu 363268Sgblack@eecs.umich.edudef format FailUnimpl() {{ 373268Sgblack@eecs.umich.edu iop = InstObjParams(name, 'FailUnimplemented') 383268Sgblack@eecs.umich.edu decode_block = BasicDecodeWithMnemonic.subst(iop) 393268Sgblack@eecs.umich.edu}}; 403268Sgblack@eecs.umich.edu 413268Sgblack@eecs.umich.edudef format WarnUnimpl() {{ 423268Sgblack@eecs.umich.edu iop = InstObjParams(name, 'WarnUnimplemented') 433268Sgblack@eecs.umich.edu decode_block = BasicDecodeWithMnemonic.subst(iop) 443268Sgblack@eecs.umich.edu}}; 453268Sgblack@eecs.umich.edu 46