templates.isa revision 13955
17119Sgblack@eecs.umich.edu// -*- mode:c++ -*- 27119Sgblack@eecs.umich.edu 313759Sgiacomo.gabrielli@arm.com// Copyright (c) 2010-2011, 2017-2018 ARM Limited 47119Sgblack@eecs.umich.edu// All rights reserved 57119Sgblack@eecs.umich.edu// 67119Sgblack@eecs.umich.edu// The license below extends only to copyright in the software and shall 77119Sgblack@eecs.umich.edu// not be construed as granting a license to any other intellectual 87119Sgblack@eecs.umich.edu// property including but not limited to intellectual property relating 97119Sgblack@eecs.umich.edu// to a hardware implementation of the functionality of the software 107119Sgblack@eecs.umich.edu// licensed hereunder. You may use the software subject to the license 117119Sgblack@eecs.umich.edu// terms below provided that you ensure that this notice is replicated 127119Sgblack@eecs.umich.edu// unmodified and in its entirety in all distributions of the software, 137119Sgblack@eecs.umich.edu// modified or unmodified, in source code or in binary form. 147119Sgblack@eecs.umich.edu// 157119Sgblack@eecs.umich.edu// Redistribution and use in source and binary forms, with or without 167119Sgblack@eecs.umich.edu// modification, are permitted provided that the following conditions are 177119Sgblack@eecs.umich.edu// met: redistributions of source code must retain the above copyright 187119Sgblack@eecs.umich.edu// notice, this list of conditions and the following disclaimer; 197119Sgblack@eecs.umich.edu// redistributions in binary form must reproduce the above copyright 207119Sgblack@eecs.umich.edu// notice, this list of conditions and the following disclaimer in the 217119Sgblack@eecs.umich.edu// documentation and/or other materials provided with the distribution; 227119Sgblack@eecs.umich.edu// neither the name of the copyright holders nor the names of its 237119Sgblack@eecs.umich.edu// contributors may be used to endorse or promote products derived from 247119Sgblack@eecs.umich.edu// this software without specific prior written permission. 257119Sgblack@eecs.umich.edu// 267119Sgblack@eecs.umich.edu// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 277119Sgblack@eecs.umich.edu// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 287119Sgblack@eecs.umich.edu// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 297119Sgblack@eecs.umich.edu// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 307119Sgblack@eecs.umich.edu// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 317119Sgblack@eecs.umich.edu// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 327119Sgblack@eecs.umich.edu// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 337119Sgblack@eecs.umich.edu// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 347119Sgblack@eecs.umich.edu// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 357119Sgblack@eecs.umich.edu// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 367119Sgblack@eecs.umich.edu// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 377119Sgblack@eecs.umich.edu// 387119Sgblack@eecs.umich.edu// Authors: Gabe Black 397119Sgblack@eecs.umich.edu 407167Sgblack@eecs.umich.edu//Basic instruction templates 417167Sgblack@eecs.umich.edu##include "basic.isa" 427167Sgblack@eecs.umich.edu 4312540Sgiacomo.travaglini@arm.com//Semihosting instruction templates 4412540Sgiacomo.travaglini@arm.com##include "semihost.isa" 4512540Sgiacomo.travaglini@arm.com 4610037SARM gem5 Developers//Templates for AArch64 bit data instructions. 4710037SARM gem5 Developers##include "data64.isa" 4810037SARM gem5 Developers 497133Sgblack@eecs.umich.edu//Templates for predicated instructions 507133Sgblack@eecs.umich.edu##include "pred.isa" 517133Sgblack@eecs.umich.edu 527119Sgblack@eecs.umich.edu//Templates for memory instructions 537119Sgblack@eecs.umich.edu##include "mem.isa" 547134Sgblack@eecs.umich.edu 5510037SARM gem5 Developers//Templates for AArch64 memory instructions 5610037SARM gem5 Developers##include "mem64.isa" 5710037SARM gem5 Developers 587202Sgblack@eecs.umich.edu//Miscellaneous instructions that don't fit elsewhere 597202Sgblack@eecs.umich.edu##include "misc.isa" 6010037SARM gem5 Developers##include "misc64.isa" 617202Sgblack@eecs.umich.edu 627134Sgblack@eecs.umich.edu//Templates for microcoded memory instructions 637134Sgblack@eecs.umich.edu##include "macromem.isa" 647150Sgblack@eecs.umich.edu 657150Sgblack@eecs.umich.edu//Templates for branches 667150Sgblack@eecs.umich.edu##include "branch.isa" 6710037SARM gem5 Developers##include "branch64.isa" 687159Sgblack@eecs.umich.edu 697159Sgblack@eecs.umich.edu//Templates for multiplies 707159Sgblack@eecs.umich.edu##include "mult.isa" 717375Sgblack@eecs.umich.edu 727375Sgblack@eecs.umich.edu//Templates for VFP instructions 737375Sgblack@eecs.umich.edu##include "vfp.isa" 7410037SARM gem5 Developers##include "vfp64.isa" 757639Sgblack@eecs.umich.edu 767639Sgblack@eecs.umich.edu//Templates for Neon instructions 777639Sgblack@eecs.umich.edu##include "neon.isa" 7810037SARM gem5 Developers 7913168Smatt.horsnell@arm.com//Templates for Crypto instructions 8013168Smatt.horsnell@arm.com##include "crypto.isa" 8113168Smatt.horsnell@arm.com 8210037SARM gem5 Developers##include "neon64.isa" 8313759Sgiacomo.gabrielli@arm.com 8413759Sgiacomo.gabrielli@arm.com//Templates for SVE instructions 8513759Sgiacomo.gabrielli@arm.com##include "sve.isa" 8613955Sgiacomo.gabrielli@arm.com##include "sve_mem.isa" 87