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 --- 252 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, *flags) {{ 270 all_flags = ['IprAccessOp'] 271 all_flags += flags |
272 iop = InstObjParams(name, Name, 'HwMoveIPR', CodeBlock(code), |
273 all_flags) |
274 header_output = BasicDeclare.subst(iop) 275 decoder_output = BasicConstructor.subst(iop) 276 decode_block = BasicDecode.subst(iop) 277 exec_output = BasicExecute.subst(iop) 278}}; 279 280 |