mt.isa (12616:4b463b4dc098) | mt.isa (13899:3a981d8482fd) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2007 MIPS Technologies, Inc. 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 --- 87 unchanged lines hidden (view full) --- 96 97output exec {{ 98 void getThrRegExValues(ExecContext *xc, 99 VPEConf0Reg &vpe_conf0, TCBindReg &tc_bind_mt, 100 TCBindReg &tc_bind, VPEControlReg &vpe_control, 101 MVPConf0Reg &mvp_conf0) 102 { 103 vpe_conf0 = xc->readMiscReg(MISCREG_VPE_CONF0); | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2007 MIPS Technologies, Inc. 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 --- 87 unchanged lines hidden (view full) --- 96 97output exec {{ 98 void getThrRegExValues(ExecContext *xc, 99 VPEConf0Reg &vpe_conf0, TCBindReg &tc_bind_mt, 100 TCBindReg &tc_bind, VPEControlReg &vpe_control, 101 MVPConf0Reg &mvp_conf0) 102 { 103 vpe_conf0 = xc->readMiscReg(MISCREG_VPE_CONF0); |
104 tc_bind_mt = xc->readRegOtherThread(RegId(MiscRegClass, | 104 tc_bind_mt = readRegOtherThread(xc, RegId(MiscRegClass, |
105 MISCREG_TC_BIND)); 106 tc_bind = xc->readMiscReg(MISCREG_TC_BIND); 107 vpe_control = xc->readMiscReg(MISCREG_VPE_CONTROL); 108 mvp_conf0 = xc->readMiscReg(MISCREG_MVP_CONF0); 109 } 110 111 void getMTExValues(ExecContext *xc, Config3Reg &config3) 112 { --- 117 unchanged lines hidden --- | 105 MISCREG_TC_BIND)); 106 tc_bind = xc->readMiscReg(MISCREG_TC_BIND); 107 vpe_control = xc->readMiscReg(MISCREG_VPE_CONTROL); 108 mvp_conf0 = xc->readMiscReg(MISCREG_MVP_CONF0); 109 } 110 111 void getMTExValues(ExecContext *xc, Config3Reg &config3) 112 { --- 117 unchanged lines hidden --- |