pal.isa (2649:2fb859a457a2) | pal.isa (2654:9559cfa91b9d) |
---|---|
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 --- 250 unchanged lines hidden (view full) --- 259 else { 260 // must be mfpr 261 return csprintf("%-10s IPR(%#x),r%d", 262 mnemonic, ipr_index, RA); 263 } 264 } 265}}; 266 | 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 --- 250 unchanged lines hidden (view full) --- 259 else { 260 // must be mfpr 261 return csprintf("%-10s IPR(%#x),r%d", 262 mnemonic, ipr_index, RA); 263 } 264 } 265}}; 266 |
267def format HwMoveIPR(code) {{ | 267def format HwMoveIPR(code, *flags) {{ 268 all_flags = ['IprAccessOp'] 269 all_flags += flags |
268 iop = InstObjParams(name, Name, 'HwMoveIPR', CodeBlock(code), | 270 iop = InstObjParams(name, Name, 'HwMoveIPR', CodeBlock(code), |
269 ['IprAccessOp']) | 271 all_flags) |
270 header_output = BasicDeclare.subst(iop) 271 decoder_output = BasicConstructor.subst(iop) 272 decode_block = BasicDecode.subst(iop) 273 exec_output = BasicExecute.subst(iop) 274}}; 275 276 | 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 |