Deleted Added
sdiff udiff text old ( 12234:78ece221f9f5 ) new ( 12295:4fc6c59aa554 )
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

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

28// Gabe Black
29// Steve Reinhardt
30
31////////////////////////////////////////////////////////////////////
32//
33// Integer operate instructions
34//
35
36def template SetHiDecode {{
37 {
38 if (RD == 0 && IMM22 == 0)
39 return (SparcStaticInst *)(new Nop("nop", machInst, No_OpClass));
40 else
41 return (SparcStaticInst *)(new %(class_name)s(machInst));
42 }
43}};
44
45def template IntOpExecute {{
46 Fault %(class_name)s::execute(ExecContext *xc,
47 Trace::InstRecord *traceData) const
48 {
49 Fault fault = NoFault;
50
51 %(op_decl)s;
52 %(op_rd)s;

--- 124 unchanged lines hidden ---