basicmem.isa (12385:288c62455dde) basicmem.isa (12616:4b463b4dc098)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2006-2007 The Regents of The University of Michigan
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

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

40 */
41 class %(class_name)s : public %(base_class)s
42 {
43 public:
44
45 /// Constructor.
46 %(class_name)s(ExtMachInst machInst);
47
1// -*- mode:c++ -*-
2
3// Copyright (c) 2006-2007 The Regents of The University of Michigan
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

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

40 */
41 class %(class_name)s : public %(base_class)s
42 {
43 public:
44
45 /// Constructor.
46 %(class_name)s(ExtMachInst machInst);
47
48 Fault execute(ExecContext *, Trace::InstRecord *) const;
49 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const;
48 Fault execute(ExecContext *, Trace::InstRecord *) const override;
49 Fault initiateAcc(ExecContext *,
50 Trace::InstRecord *) const override;
50 Fault completeAcc(PacketPtr, ExecContext *,
51 Fault completeAcc(PacketPtr, ExecContext *,
51 Trace::InstRecord *) const;
52 Trace::InstRecord *) const override;
52 };
53}};
54
55let {{
56 def doMemFormat(code, execute, faultCode, name, Name, asi, opt_flags, postacc_code = ''):
57 addrCalcReg = 'EA = Rs1 + Rs2;'
58 addrCalcImm = 'EA = Rs1 + imm;'
59 iop = InstObjParams(name, Name, 'Mem',

--- 71 unchanged lines hidden ---
53 };
54}};
55
56let {{
57 def doMemFormat(code, execute, faultCode, name, Name, asi, opt_flags, postacc_code = ''):
58 addrCalcReg = 'EA = Rs1 + Rs2;'
59 addrCalcImm = 'EA = Rs1 + imm;'
60 iop = InstObjParams(name, Name, 'Mem',

--- 71 unchanged lines hidden ---