mem.isa (7279:157b02cc0ba1) mem.isa (7291:2d21be52e57f)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2010 ARM Limited
4// All rights reserved
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating

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

289 %(op_wb)s;
290 }
291 }
292
293 return fault;
294 }
295}};
296
1// -*- mode:c++ -*-
2
3// Copyright (c) 2010 ARM Limited
4// All rights reserved
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating

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

289 %(op_wb)s;
290 }
291 }
292
293 return fault;
294 }
295}};
296
297def template RfeDeclare {{
298 /**
299 * Static instruction class for "%(mnemonic)s".
300 */
301 class %(class_name)s : public %(base_class)s
302 {
303 public:
304
305 /// Constructor.
306 %(class_name)s(ExtMachInst machInst,
307 uint32_t _base, int _mode, bool _wb);
308
309 %(BasicExecDeclare)s
310
311 %(InitiateAccDeclare)s
312
313 %(CompleteAccDeclare)s
314 };
315}};
316
297def template SwapDeclare {{
298 /**
299 * Static instruction class for "%(mnemonic)s".
300 */
301 class %(class_name)s : public %(base_class)s
302 {
303 public:
304

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

403def template InitiateAccDeclare {{
404 Fault initiateAcc(%(CPU_exec_context)s *, Trace::InstRecord *) const;
405}};
406
407def template CompleteAccDeclare {{
408 Fault completeAcc(PacketPtr, %(CPU_exec_context)s *, Trace::InstRecord *) const;
409}};
410
317def template SwapDeclare {{
318 /**
319 * Static instruction class for "%(mnemonic)s".
320 */
321 class %(class_name)s : public %(base_class)s
322 {
323 public:
324

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

423def template InitiateAccDeclare {{
424 Fault initiateAcc(%(CPU_exec_context)s *, Trace::InstRecord *) const;
425}};
426
427def template CompleteAccDeclare {{
428 Fault completeAcc(PacketPtr, %(CPU_exec_context)s *, Trace::InstRecord *) const;
429}};
430
431def template RfeConstructor {{
432 inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
433 uint32_t _base, int _mode, bool _wb)
434 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
435 (IntRegIndex)_base, (AddrMode)_mode, _wb)
436 {
437 %(constructor)s;
438 }
439}};
440
411def template SwapConstructor {{
412 inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
413 uint32_t _dest, uint32_t _op1, uint32_t _base)
414 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
415 (IntRegIndex)_dest, (IntRegIndex)_op1, (IntRegIndex)_base)
416 {
417 %(constructor)s;
418 }

--- 50 unchanged lines hidden ---
441def template SwapConstructor {{
442 inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
443 uint32_t _dest, uint32_t _op1, uint32_t _base)
444 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
445 (IntRegIndex)_dest, (IntRegIndex)_op1, (IntRegIndex)_base)
446 {
447 %(constructor)s;
448 }

--- 50 unchanged lines hidden ---