basic.isa (12236:126ac9da6050) basic.isa (12616:4b463b4dc098)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2011 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

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

45 /**
46 * Static instruction class for "%(mnemonic)s".
47 */
48 class %(class_name)s : public %(base_class)s
49 {
50 public:
51 /// Constructor.
52 %(class_name)s(ExtMachInst machInst);
1// -*- mode:c++ -*-
2
3// Copyright (c) 2011 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

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

45 /**
46 * Static instruction class for "%(mnemonic)s".
47 */
48 class %(class_name)s : public %(base_class)s
49 {
50 public:
51 /// Constructor.
52 %(class_name)s(ExtMachInst machInst);
53 Fault execute(ExecContext *, Trace::InstRecord *) const;
53 Fault execute(ExecContext *,
54 Trace::InstRecord *) const override;
54 };
55}};
56
57// Basic instruction class constructor template.
58def template BasicConstructor {{
59 %(class_name)s::%(class_name)s(ExtMachInst machInst) : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
60 {
61 %(constructor)s;

--- 44 unchanged lines hidden ---
55 };
56}};
57
58// Basic instruction class constructor template.
59def template BasicConstructor {{
60 %(class_name)s::%(class_name)s(ExtMachInst machInst) : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
61 {
62 %(constructor)s;

--- 44 unchanged lines hidden ---