mt.isa (6376:eaf61ef6a8f2) mt.isa (6383:31c067ae3331)
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

--- 76 unchanged lines hidden (view full) ---

85}};
86
87output exec {{
88 void getThrRegExValues(%(CPU_exec_context)s *xc,
89 VPEConf0Reg &vpe_conf0, TCBindReg &tc_bind_mt,
90 TCBindReg &tc_bind, VPEControlReg &vpe_control,
91 MVPConf0Reg &mvp_conf0)
92 {
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

--- 76 unchanged lines hidden (view full) ---

85}};
86
87output exec {{
88 void getThrRegExValues(%(CPU_exec_context)s *xc,
89 VPEConf0Reg &vpe_conf0, TCBindReg &tc_bind_mt,
90 TCBindReg &tc_bind, VPEControlReg &vpe_control,
91 MVPConf0Reg &mvp_conf0)
92 {
93 vpe_conf0 = xc->readMiscReg(VPEConf0);
94 tc_bind_mt = xc->readRegOtherThread(TCBind + Ctrl_Base_DepTag);
95 tc_bind = xc->readMiscReg(TCBind);
96 vpe_control = xc->readMiscReg(VPEControl);
97 mvp_conf0 = xc->readMiscReg(MVPConf0);
93 vpe_conf0 = xc->readMiscReg(MISCREG_VPE_CONF0);
94 tc_bind_mt = xc->readRegOtherThread(MISCREG_TC_BIND + Ctrl_Base_DepTag);
95 tc_bind = xc->readMiscReg(MISCREG_TC_BIND);
96 vpe_control = xc->readMiscReg(MISCREG_VPE_CONTROL);
97 mvp_conf0 = xc->readMiscReg(MISCREG_MVP_CONF0);
98 }
99
100 void getMTExValues(%(CPU_exec_context)s *xc, Config3Reg &config3)
101 {
98 }
99
100 void getMTExValues(%(CPU_exec_context)s *xc, Config3Reg &config3)
101 {
102 config3 = xc->readMiscReg(Config3);
102 config3 = xc->readMiscReg(MISCREG_CONFIG3);
103 }
104}};
105
106def template ThreadRegisterExecute {{
107 Fault %(class_name)s::execute(%(CPU_exec_context)s *xc, Trace::InstRecord *traceData) const
108 {
109 Fault fault = NoFault;
110 int64_t data;

--- 116 unchanged lines hidden ---
103 }
104}};
105
106def template ThreadRegisterExecute {{
107 Fault %(class_name)s::execute(%(CPU_exec_context)s *xc, Trace::InstRecord *traceData) const
108 {
109 Fault fault = NoFault;
110 int64_t data;

--- 116 unchanged lines hidden ---