Deleted Added
sdiff udiff text old ( 12236:126ac9da6050 ) new ( 12616:4b463b4dc098 )
full compact
1// -*- mode:c++ -*-
2
3// Copyright (c) 2009 The University of Edinburgh
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

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

33 /**
34 * Static instruction class for "%(mnemonic)s".
35 */
36 class %(class_name)s : public %(base_class)s
37 {
38 public:
39 /// Constructor.
40 %(class_name)s(ExtMachInst machInst);
41 Fault execute(ExecContext *, Trace::InstRecord *) const;
42 };
43}};
44
45// Basic instruction class constructor template.
46def template BasicConstructor {{
47 %(class_name)s::%(class_name)s(ExtMachInst machInst) : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
48 {
49 %(constructor)s;

--- 42 unchanged lines hidden ---