includes.isa revision 4008:ccad3906006a
12SN/A// Copyright (c) 2006-2007 The Regents of The University of Michigan
21762SN/A// All rights reserved.
38332Snate@binkert.org//
42SN/A// Redistribution and use in source and binary forms, with or without
52SN/A// modification, are permitted provided that the following conditions are
62SN/A// met: redistributions of source code must retain the above copyright
72SN/A// notice, this list of conditions and the following disclaimer;
82SN/A// redistributions in binary form must reproduce the above copyright
92SN/A// notice, this list of conditions and the following disclaimer in the
102SN/A// documentation and/or other materials provided with the distribution;
112SN/A// neither the name of the copyright holders nor the names of its
122SN/A// contributors may be used to endorse or promote products derived from
132SN/A// this software without specific prior written permission.
142SN/A//
152SN/A// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
162SN/A// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
172SN/A// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
182SN/A// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
192SN/A// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
202SN/A// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
212SN/A// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
222SN/A// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
232SN/A// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
242SN/A// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
252SN/A// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
262SN/A//
272SN/A// Authors: Ali Saidi
282665Ssaidi@eecs.umich.edu//          Gabe Black
292665Ssaidi@eecs.umich.edu//          Steve Reinhardt
302665Ssaidi@eecs.umich.edu
317861Sgblack@eecs.umich.edu////////////////////////////////////////////////////////////////////
322SN/A//
332SN/A// Output include file directives.
34488SN/A//
358232Snate@binkert.org
367861Sgblack@eecs.umich.eduoutput header {{
371609SN/A#include <cstring>
387861Sgblack@eecs.umich.edu#include <sstream>
397861Sgblack@eecs.umich.edu#include <iostream>
407861Sgblack@eecs.umich.edu
417861Sgblack@eecs.umich.edu#include "arch/sparc/faults.hh"
427861Sgblack@eecs.umich.edu#include "arch/sparc/isa_traits.hh"
437861Sgblack@eecs.umich.edu#include "arch/sparc/regfile.hh"
447861Sgblack@eecs.umich.edu#include "base/misc.hh"
457861Sgblack@eecs.umich.edu#include "cpu/static_inst.hh"
467861Sgblack@eecs.umich.edu#include "mem/packet.hh"
477861Sgblack@eecs.umich.edu#include "mem/request.hh"  // some constructors use MemReq flags
482SN/A}};
497861Sgblack@eecs.umich.edu
507861Sgblack@eecs.umich.eduoutput decoder {{
517861Sgblack@eecs.umich.edu#include "base/cprintf.hh"
527861Sgblack@eecs.umich.edu#include "base/loader/symtab.hh"
537861Sgblack@eecs.umich.edu#include "cpu/thread_context.hh"  // for Jump::branchTarget()
547861Sgblack@eecs.umich.edu#include "mem/packet.hh"
557861Sgblack@eecs.umich.edu
567861Sgblack@eecs.umich.edu#if defined(linux) || defined(__APPLE__)
577861Sgblack@eecs.umich.edu#include <fenv.h>
587861Sgblack@eecs.umich.edu#endif
597861Sgblack@eecs.umich.edu#include <algorithm>
607861Sgblack@eecs.umich.edu
617861Sgblack@eecs.umich.eduusing namespace SparcISA;
627861Sgblack@eecs.umich.edu}};
637861Sgblack@eecs.umich.edu
647861Sgblack@eecs.umich.eduoutput exec {{
657861Sgblack@eecs.umich.edu#if defined(linux) || defined(__APPLE__)
667861Sgblack@eecs.umich.edu#include <fenv.h>
677861Sgblack@eecs.umich.edu#endif
687861Sgblack@eecs.umich.edu
697861Sgblack@eecs.umich.edu#if defined(__sun) || defined (__OpenBSD__)
707861Sgblack@eecs.umich.edu#include <ieeefp.h>
717861Sgblack@eecs.umich.edu#endif
727861Sgblack@eecs.umich.edu
737861Sgblack@eecs.umich.edu#include <limits>
747861Sgblack@eecs.umich.edu
757861Sgblack@eecs.umich.edu#include <cmath>
767861Sgblack@eecs.umich.edu#include "arch/sparc/asi.hh"
777861Sgblack@eecs.umich.edu#include "cpu/base.hh"
787861Sgblack@eecs.umich.edu#include "cpu/exetrace.hh"
797861Sgblack@eecs.umich.edu#include "sim/sim_exit.hh"
807861Sgblack@eecs.umich.edu#include "mem/packet.hh"
817861Sgblack@eecs.umich.edu#include "mem/packet_access.hh"
827861Sgblack@eecs.umich.edu
837861Sgblack@eecs.umich.eduusing namespace SparcISA;
847861Sgblack@eecs.umich.eduusing namespace std;
857861Sgblack@eecs.umich.edu}};
867861Sgblack@eecs.umich.edu
877861Sgblack@eecs.umich.edu