includes.isa revision 4158
13520Sgblack@eecs.umich.edu// Copyright (c) 2007 The Regents of The University of Michigan
23520Sgblack@eecs.umich.edu// All rights reserved.
33520Sgblack@eecs.umich.edu//
43520Sgblack@eecs.umich.edu// Redistribution and use in source and binary forms, with or without
53520Sgblack@eecs.umich.edu// modification, are permitted provided that the following conditions are
63520Sgblack@eecs.umich.edu// met: redistributions of source code must retain the above copyright
73520Sgblack@eecs.umich.edu// notice, this list of conditions and the following disclaimer;
83520Sgblack@eecs.umich.edu// redistributions in binary form must reproduce the above copyright
93520Sgblack@eecs.umich.edu// notice, this list of conditions and the following disclaimer in the
103520Sgblack@eecs.umich.edu// documentation and/or other materials provided with the distribution;
113520Sgblack@eecs.umich.edu// neither the name of the copyright holders nor the names of its
123520Sgblack@eecs.umich.edu// contributors may be used to endorse or promote products derived from
133520Sgblack@eecs.umich.edu// this software without specific prior written permission.
143520Sgblack@eecs.umich.edu//
153520Sgblack@eecs.umich.edu// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
163520Sgblack@eecs.umich.edu// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
173520Sgblack@eecs.umich.edu// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
183520Sgblack@eecs.umich.edu// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
193520Sgblack@eecs.umich.edu// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
203520Sgblack@eecs.umich.edu// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
213520Sgblack@eecs.umich.edu// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
223520Sgblack@eecs.umich.edu// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
233520Sgblack@eecs.umich.edu// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
243520Sgblack@eecs.umich.edu// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
253520Sgblack@eecs.umich.edu// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
263520Sgblack@eecs.umich.edu//
273520Sgblack@eecs.umich.edu// Authors: Gabe Black
283520Sgblack@eecs.umich.edu
293520Sgblack@eecs.umich.edu// Copyright (c) 2007 The Hewlett-Packard Development Company
303520Sgblack@eecs.umich.edu// All rights reserved.
313520Sgblack@eecs.umich.edu//
323520Sgblack@eecs.umich.edu// Redistribution and use of this software in source and binary forms,
333520Sgblack@eecs.umich.edu// with or without modification, are permitted provided that the
343520Sgblack@eecs.umich.edu// following conditions are met:
353520Sgblack@eecs.umich.edu//
363520Sgblack@eecs.umich.edu// The software must be used only for Non-Commercial Use which means any
374103Ssaidi@eecs.umich.edu// use which is NOT directed to receiving any direct monetary
383520Sgblack@eecs.umich.edu// compensation for, or commercial advantage from such use.  Illustrative
393520Sgblack@eecs.umich.edu// examples of non-commercial use are academic research, personal study,
405565Snate@binkert.org// teaching, education and corporate research & development.
415565Snate@binkert.org// Illustrative examples of commercial use are distributing products for
425565Snate@binkert.org// commercial advantage and providing services using the software for
433520Sgblack@eecs.umich.edu// commercial advantage.
445565Snate@binkert.org//
455565Snate@binkert.org// If you wish to use this software or functionality therein that may be
465565Snate@binkert.org// covered by patents for commercial use, please contact:
475565Snate@binkert.org//     Director of Intellectual Property Licensing
485565Snate@binkert.org//     Office of Strategy and Technology
495565Snate@binkert.org//     Hewlett-Packard Company
505565Snate@binkert.org//     1501 Page Mill Road
515565Snate@binkert.org//     Palo Alto, California  94304
525565Snate@binkert.org//
535565Snate@binkert.org// Redistributions of source code must retain the above copyright notice,
545565Snate@binkert.org// this list of conditions and the following disclaimer.  Redistributions
553520Sgblack@eecs.umich.edu// in binary form must reproduce the above copyright notice, this list of
565565Snate@binkert.org// conditions and the following disclaimer in the documentation and/or
575565Snate@binkert.org// other materials provided with the distribution.  Neither the name of
585565Snate@binkert.org// the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its
595565Snate@binkert.org// contributors may be used to endorse or promote products derived from
603520Sgblack@eecs.umich.edu// this software without specific prior written permission.  No right of
615565Snate@binkert.org// sublicense is granted herewith.  Derivatives of the software and
625565Snate@binkert.org// output created using the software may be prepared, but only for
635565Snate@binkert.org// Non-Commercial Uses.  Derivatives of the software may be shared with
645565Snate@binkert.org// others provided: (i) the others agree to abide by the list of
653520Sgblack@eecs.umich.edu// conditions herein which includes the Non-Commercial Use restrictions;
665565Snate@binkert.org// and (ii) such Derivatives of the software include the above copyright
675565Snate@binkert.org// notice to acknowledge the contribution from this software where
683520Sgblack@eecs.umich.edu// applicable, this list of conditions and the disclaimer below.
695565Snate@binkert.org//
705565Snate@binkert.org// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
713520Sgblack@eecs.umich.edu// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
725565Snate@binkert.org// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
735565Snate@binkert.org// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
745565Snate@binkert.org// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
753520Sgblack@eecs.umich.edu// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
765565Snate@binkert.org// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
775565Snate@binkert.org// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
785565Snate@binkert.org// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
795565Snate@binkert.org// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
803520Sgblack@eecs.umich.edu// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
815565Snate@binkert.org//
825565Snate@binkert.org// Authors: Gabe Black
833520Sgblack@eecs.umich.edu
845565Snate@binkert.org////////////////////////////////////////////////////////////////////
855565Snate@binkert.org//
863520Sgblack@eecs.umich.edu// Output include file directives.
875565Snate@binkert.org//
885565Snate@binkert.org
895565Snate@binkert.orgoutput header {{
905565Snate@binkert.org#include <cstring>
913520Sgblack@eecs.umich.edu#include <sstream>
925565Snate@binkert.org#include <iostream>
935565Snate@binkert.org
945565Snate@binkert.org#include "arch/x86/faults.hh"
955565Snate@binkert.org#include "arch/x86/isa_traits.hh"
963520Sgblack@eecs.umich.edu#include "arch/x86/regfile.hh"
975565Snate@binkert.org#include "base/misc.hh"
985565Snate@binkert.org#include "cpu/static_inst.hh"
995565Snate@binkert.org#include "mem/packet.hh"
1003520Sgblack@eecs.umich.edu#include "mem/request.hh"  // some constructors use MemReq flags
1015565Snate@binkert.org}};
1025565Snate@binkert.org
1035565Snate@binkert.orgoutput decoder {{
1045565Snate@binkert.org#include "base/cprintf.hh"
1055565Snate@binkert.org#include "base/loader/symtab.hh"
1065565Snate@binkert.org#include "cpu/thread_context.hh"  // for Jump::branchTarget()
1073520Sgblack@eecs.umich.edu#include "mem/packet.hh"
1085565Snate@binkert.org
1095565Snate@binkert.org#if defined(linux) || defined(__APPLE__)
1105565Snate@binkert.org#include <fenv.h>
1115565Snate@binkert.org#endif
1125565Snate@binkert.org#include <algorithm>
1135565Snate@binkert.org
1143520Sgblack@eecs.umich.eduusing namespace X86ISA;
1155565Snate@binkert.org}};
1165565Snate@binkert.org
1175565Snate@binkert.orgoutput exec {{
1185565Snate@binkert.org#if defined(linux) || defined(__APPLE__)
1195565Snate@binkert.org#include <fenv.h>
1203520Sgblack@eecs.umich.edu#endif
1215565Snate@binkert.org
1225565Snate@binkert.org#if defined(__sun) || defined (__OpenBSD__)
1235565Snate@binkert.org#include <ieeefp.h>
1245565Snate@binkert.org#endif
1255565Snate@binkert.org
1263521Sgblack@eecs.umich.edu#if FULL_SYSTEM
1275565Snate@binkert.org#include "sim/pseudo_inst.hh"
1285565Snate@binkert.org#endif
1293520Sgblack@eecs.umich.edu
1305565Snate@binkert.org#include <limits>
1315565Snate@binkert.org
1325565Snate@binkert.org#include <cmath>
1335565Snate@binkert.org#include "base/bigint.hh"
1345565Snate@binkert.org#include "cpu/base.hh"
1355565Snate@binkert.org#include "cpu/exetrace.hh"
1365565Snate@binkert.org#include "sim/sim_exit.hh"
1373520Sgblack@eecs.umich.edu#include "mem/packet.hh"
1383520Sgblack@eecs.umich.edu#include "mem/packet_access.hh"
1393520Sgblack@eecs.umich.edu
1403520Sgblack@eecs.umich.eduusing namespace X86ISA;
1415565Snate@binkert.orgusing namespace std;
1425565Snate@binkert.org}};
1435565Snate@binkert.org
1445565Snate@binkert.org