1// -*- mode:c++ -*- 2 3// Copyright (c) 2003-2006 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 --- 731 unchanged lines hidden (view full) --- 740 } 741 } 742 } 743 744 0x19: decode PALMODE { 745 0: OpcdecFault::hw_mfpr(); 746 format HwMoveIPR { 747 1: hw_mfpr({{ |
748 int miscRegIndex = (ipr_index < NumInternalProcRegs) ? 749 IprToMiscRegIndex[ipr_index] : -1; 750 if(miscRegIndex < 0 || !IprIsReadable(miscRegIndex) || 751 fault = new UnimplementedOpcodeFault; 752 else 753 Ra = xc->readMiscRegWithEffect(miscRegIndex, fault); 754 }}, IsIprAccess); 755 } --- 93 unchanged lines hidden --- |