pal.isa (2665:a124942bacb8) pal.isa (2670:9107b8bd08cd)
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
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) {{
269def format HwMoveIPR(code, *flags) {{
270 all_flags = ['IprAccessOp']
271 all_flags += flags
270 iop = InstObjParams(name, Name, 'HwMoveIPR', CodeBlock(code),
272 iop = InstObjParams(name, Name, 'HwMoveIPR', CodeBlock(code),
271 ['IprAccessOp'])
273 all_flags)
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
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