Deleted Added
sdiff udiff text old ( 12236:126ac9da6050 ) new ( 12616:4b463b4dc098 )
full compact
1// -*- mode:c++ -*-
2
3// -*- mode:c++ -*-
4
5// Copyright (c) 2003-2005 The Regents of The University of Michigan
6// All rights reserved.
7//
8// Redistribution and use in source and binary forms, with or without

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

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

--- 43 unchanged lines hidden ---