macromem.isa revision 7134:60fe8a00b36e
12553SN/A// -*- mode:c++ -*- 25254Sksewell@umich.edu 35254Sksewell@umich.edu// Copyright (c) 2010 ARM Limited 42553SN/A// All rights reserved 55254Sksewell@umich.edu// 65254Sksewell@umich.edu// The license below extends only to copyright in the software and shall 75254Sksewell@umich.edu// not be construed as granting a license to any other intellectual 85254Sksewell@umich.edu// property including but not limited to intellectual property relating 95254Sksewell@umich.edu// to a hardware implementation of the functionality of the software 105254Sksewell@umich.edu// licensed hereunder. You may use the software subject to the license 115254Sksewell@umich.edu// terms below provided that you ensure that this notice is replicated 125254Sksewell@umich.edu// unmodified and in its entirety in all distributions of the software, 135254Sksewell@umich.edu// modified or unmodified, in source code or in binary form. 145254Sksewell@umich.edu// 152553SN/A// Redistribution and use in source and binary forms, with or without 165254Sksewell@umich.edu// modification, are permitted provided that the following conditions are 175254Sksewell@umich.edu// met: redistributions of source code must retain the above copyright 185254Sksewell@umich.edu// notice, this list of conditions and the following disclaimer; 195254Sksewell@umich.edu// redistributions in binary form must reproduce the above copyright 205254Sksewell@umich.edu// notice, this list of conditions and the following disclaimer in the 215254Sksewell@umich.edu// documentation and/or other materials provided with the distribution; 225254Sksewell@umich.edu// neither the name of the copyright holders nor the names of its 235254Sksewell@umich.edu// contributors may be used to endorse or promote products derived from 245254Sksewell@umich.edu// this software without specific prior written permission. 255254Sksewell@umich.edu// 265254Sksewell@umich.edu// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 272632Sstever@eecs.umich.edu// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 285254Sksewell@umich.edu// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 292553SN/A// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 302553SN/A// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 312599SN/A// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 322599SN/A// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 332553SN/A// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 342553SN/A// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 352553SN/A// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 362553SN/A// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 372553SN/A// 382553SN/A// Authors: Gabe Black 392553SN/A 402553SN/Adef format ArmMacroMem() {{ 412553SN/A decode_block = ''' 422553SN/A return new LdmStm(machInst, (IntRegIndex)(uint32_t)RN, !PREPOST, UP, 432553SN/A PSRUSER, WRITEBACK, LOADOP, machInst.regList); 442553SN/A ''' 452553SN/A}}; 462553SN/A