17087Snate@binkert.org// Copyright (c) 2007 The Hewlett-Packard Development Company
27087Snate@binkert.org// All rights reserved.
37087Snate@binkert.org//
47087Snate@binkert.org// The license below extends only to copyright in the software and shall
57087Snate@binkert.org// not be construed as granting a license to any other intellectual
67087Snate@binkert.org// property including but not limited to intellectual property relating
77087Snate@binkert.org// to a hardware implementation of the functionality of the software
87087Snate@binkert.org// licensed hereunder.  You may use the software subject to the license
97087Snate@binkert.org// terms below provided that you ensure that this notice is replicated
107087Snate@binkert.org// unmodified and in its entirety in all distributions of the software,
117087Snate@binkert.org// modified or unmodified, in source code or in binary form.
127087Snate@binkert.org//
134158Sgblack@eecs.umich.edu// Copyright (c) 2007 The Regents of The University of Michigan
144158Sgblack@eecs.umich.edu// All rights reserved.
154158Sgblack@eecs.umich.edu//
164158Sgblack@eecs.umich.edu// Redistribution and use in source and binary forms, with or without
174158Sgblack@eecs.umich.edu// modification, are permitted provided that the following conditions are
184158Sgblack@eecs.umich.edu// met: redistributions of source code must retain the above copyright
194158Sgblack@eecs.umich.edu// notice, this list of conditions and the following disclaimer;
204158Sgblack@eecs.umich.edu// redistributions in binary form must reproduce the above copyright
214158Sgblack@eecs.umich.edu// notice, this list of conditions and the following disclaimer in the
224158Sgblack@eecs.umich.edu// documentation and/or other materials provided with the distribution;
234158Sgblack@eecs.umich.edu// neither the name of the copyright holders nor the names of its
244158Sgblack@eecs.umich.edu// contributors may be used to endorse or promote products derived from
254158Sgblack@eecs.umich.edu// this software without specific prior written permission.
264158Sgblack@eecs.umich.edu//
274158Sgblack@eecs.umich.edu// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
284158Sgblack@eecs.umich.edu// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
294158Sgblack@eecs.umich.edu// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
304158Sgblack@eecs.umich.edu// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
314158Sgblack@eecs.umich.edu// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
324158Sgblack@eecs.umich.edu// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
334158Sgblack@eecs.umich.edu// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
344158Sgblack@eecs.umich.edu// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
354158Sgblack@eecs.umich.edu// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
364158Sgblack@eecs.umich.edu// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
374158Sgblack@eecs.umich.edu// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
384158Sgblack@eecs.umich.edu//
394158Sgblack@eecs.umich.edu// Authors: Gabe Black
404158Sgblack@eecs.umich.edu
414158Sgblack@eecs.umich.edu//Include the basic format
424158Sgblack@eecs.umich.edu//Templates from this format are used later
434158Sgblack@eecs.umich.edu##include "basic.isa"
444158Sgblack@eecs.umich.edu
455659Sgblack@eecs.umich.edu//Include a format to generate a CPUID instruction.
465659Sgblack@eecs.umich.edu##include "cpuid.isa"
475659Sgblack@eecs.umich.edu
4810529Smorr@cs.wisc.edu//Include a format to generate a monitor/mwait instructions.
4910529Smorr@cs.wisc.edu##include "monitor_mwait.isa"
5010529Smorr@cs.wisc.edu
514158Sgblack@eecs.umich.edu//Include the "unknown" format
524158Sgblack@eecs.umich.edu##include "unknown.isa"
534276Sgblack@eecs.umich.edu
544276Sgblack@eecs.umich.edu//Include the "unimp" format
554276Sgblack@eecs.umich.edu##include "unimp.isa"
564276Sgblack@eecs.umich.edu
574276Sgblack@eecs.umich.edu//Include a format to signal m5 internal errors. This is used to indicate a
584276Sgblack@eecs.umich.edu//malfunction of the decode mechanism.
594276Sgblack@eecs.umich.edu##include "error.isa"
604278Sgblack@eecs.umich.edu
614278Sgblack@eecs.umich.edu//Include a format which implements a batch of instructions which do the same
624278Sgblack@eecs.umich.edu//thing on a variety of inputs
634278Sgblack@eecs.umich.edu##include "multi.isa"
644712Sgblack@eecs.umich.edu
657715Sgblack@eecs.umich.edu//Include a format for a non-microcoded nop.
667715Sgblack@eecs.umich.edu##include "nop.isa"
677715Sgblack@eecs.umich.edu
684952Sgblack@eecs.umich.edu//Include a format which implements an extra layer of decoding to handle the
694952Sgblack@eecs.umich.edu//repe and repne prefixes
704952Sgblack@eecs.umich.edu##include "string.isa"
714952Sgblack@eecs.umich.edu
724712Sgblack@eecs.umich.edu//Include a format which makes instructions who's sole purpose is to generate
734712Sgblack@eecs.umich.edu//a syscall.
744712Sgblack@eecs.umich.edu##include "syscall.isa"
7512169Sgabeblack@google.com
7612169Sgabeblack@google.com//Include a format which is like Inst, except it conditionally decodes to the
7712169Sgabeblack@google.com//specified instruction, or if the condition fails decodes to UD2.
7812169Sgabeblack@google.com##include "cond.isa"
79