trap.isa (2754:e3d023bc752c) trap.isa (3951:727778d649ae)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2006 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

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

68 return No_Fault;
69 }
70}};
71
72def format Trap(code, *flags) {{
73 code = 'warn(\"'
74 code += 'Trap Exception Handler Is Currently Not Implemented.'
75 code += '\");'
1// -*- mode:c++ -*-
2
3// Copyright (c) 2006 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

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

68 return No_Fault;
69 }
70}};
71
72def format Trap(code, *flags) {{
73 code = 'warn(\"'
74 code += 'Trap Exception Handler Is Currently Not Implemented.'
75 code += '\");'
76 iop = InstObjParams(name, Name, 'MipsStaticInst', CodeBlock(code), flags)
76 iop = InstObjParams(name, Name, 'MipsStaticInst', code, flags)
77 header_output = BasicDeclare.subst(iop)
78 decoder_output = BasicConstructor.subst(iop)
79 decode_block = BasicDecode.subst(iop)
80 exec_output = BasicExecute.subst(iop)
81}};
77 header_output = BasicDeclare.subst(iop)
78 decoder_output = BasicConstructor.subst(iop)
79 decode_block = BasicDecode.subst(iop)
80 exec_output = BasicExecute.subst(iop)
81}};