Deleted Added
sdiff udiff text old ( 4394:dbaff14bb974 ) new ( 5091:662c1d7b4795 )
full compact
1// Copyright (c) 2006-2007 The Regents of The University of Michigan
2// All rights reserved.
3//
4// Redistribution and use in source and binary forms, with or without
5// modification, are permitted provided that the following conditions are
6// met: redistributions of source code must retain the above copyright
7// notice, this list of conditions and the following disclaimer;
8// redistributions in binary form must reproduce the above copyright

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

51 {
52 public:
53 // Constructor.
54 %(class_name)s(ExtMachInst machInst);
55 %(BasicExecDeclare)s
56 };
57}};
58
59// Basic instruction class constructor template.
60def template BasicConstructor {{
61 inline %(class_name)s::%(class_name)s(ExtMachInst machInst)
62 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
63 {
64 %(constructor)s;
65 }
66}};
67
68// Basic instruction class execute method template.
69def template BasicExecute {{
70 Fault %(class_name)s::execute(%(CPU_exec_context)s *xc,
71 Trace::InstRecord *traceData) const
72 {
73 Fault fault = NoFault;
74
75 %(fp_enable_check)s;

--- 60 unchanged lines hidden ---