m5ops.isa (8795:0909f8ed7aa0) m5ops.isa (8798:adaa92be9037)
1//
2// Copyright (c) 2010 ARM Limited
3// All rights reserved
4//
5// The license below extends only to copyright in the software and shall
6// not be construed as granting a license to any other intellectual
7// property including but not limited to intellectual property relating
8// to a hardware implementation of the functionality of the software

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

185 { "code": loadsymbolCode,
186 "predicate_test": predicateTest },
187 ["No_OpClass", "IsNonSpeculative"])
188 header_output += BasicDeclare.subst(loadsymbolIop)
189 decoder_output += BasicConstructor.subst(loadsymbolIop)
190 exec_output += PredOpExecute.subst(loadsymbolIop)
191
192 initparamCode = '''
1//
2// Copyright (c) 2010 ARM Limited
3// All rights reserved
4//
5// The license below extends only to copyright in the software and shall
6// not be construed as granting a license to any other intellectual
7// property including but not limited to intellectual property relating
8// to a hardware implementation of the functionality of the software

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

185 { "code": loadsymbolCode,
186 "predicate_test": predicateTest },
187 ["No_OpClass", "IsNonSpeculative"])
188 header_output += BasicDeclare.subst(loadsymbolIop)
189 decoder_output += BasicConstructor.subst(loadsymbolIop)
190 exec_output += PredOpExecute.subst(loadsymbolIop)
191
192 initparamCode = '''
193 Rt = PseudoInst::initParam(xc->tcBase());
193 uint64_t ip_val = PseudoInst::initParam(xc->tcBase());
194 R0 = bits(ip_val, 31, 0);
195 R1 = bits(ip_val, 63, 32);
194 '''
195
196 initparamIop = InstObjParams("initparam", "Initparam", "PredOp",
197 { "code": initparamCode,
196 '''
197
198 initparamIop = InstObjParams("initparam", "Initparam", "PredOp",
199 { "code": initparamCode,
198 "predicate_test": predicateTest })
200 "predicate_test": predicateTest },
201 ["IsNonSpeculative"])
199 header_output += BasicDeclare.subst(initparamIop)
200 decoder_output += BasicConstructor.subst(initparamIop)
201 exec_output += PredOpExecute.subst(initparamIop)
202
203 resetstats_code = '''
204 PseudoInst::resetstats(xc->tcBase(), join32to64(R1, R0), join32to64(R3, R2));
205 '''
206

--- 118 unchanged lines hidden ---
202 header_output += BasicDeclare.subst(initparamIop)
203 decoder_output += BasicConstructor.subst(initparamIop)
204 exec_output += PredOpExecute.subst(initparamIop)
205
206 resetstats_code = '''
207 PseudoInst::resetstats(xc->tcBase(), join32to64(R1, R0), join32to64(R3, R2));
208 '''
209

--- 118 unchanged lines hidden ---