1// -*- mode:c++ -*- 2 3// Copyright (c) 2003-2005 The Regents of The University of Michigan 4// All rights reserved. 5// 6// Redistribution and use in source and binary forms, with or without 7// modification, are permitted provided that the following conditions are 8// met: redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
28// 29// Authors: Steve Reinhardt |
30 31//////////////////////////////////////////////////////////////////// 32// 33// PAL calls & PAL-specific instructions 34// 35 36output header {{ 37 /** --- 223 unchanged lines hidden (view full) --- 261 else { 262 // must be mfpr 263 return csprintf("%-10s IPR(%#x),r%d", 264 mnemonic, ipr_index, RA); 265 } 266 } 267}}; 268 |
269def format HwMoveIPR(code) {{ |
270 iop = InstObjParams(name, Name, 'HwMoveIPR', CodeBlock(code), |
271 ['IprAccessOp']) |
272 header_output = BasicDeclare.subst(iop) 273 decoder_output = BasicConstructor.subst(iop) 274 decode_block = BasicDecode.subst(iop) 275 exec_output = BasicExecute.subst(iop) 276}}; 277 278 |