trap.isa (10196:be0e1724eb39) | trap.isa (10474:799c8ee4ecba) |
---|---|
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 --- 112 unchanged lines hidden (view full) --- 121 return mnemonic; 122 } 123 }; 124}}; 125 126def format FpUnimpl(*flags) {{ 127 fpunimpl_code = ''' 128 Fsr = insertBits(Fsr, 16, 14, 3); | 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 --- 112 unchanged lines hidden (view full) --- 121 return mnemonic; 122 } 123 }; 124}}; 125 126def format FpUnimpl(*flags) {{ 127 fpunimpl_code = ''' 128 Fsr = insertBits(Fsr, 16, 14, 3); |
129 fault = new FpExceptionOther; | 129 fault = std::make_shared<FpExceptionOther>(); |
130 ''' 131 iop = InstObjParams(name, Name, 'FpUnimpl', fpunimpl_code, flags) 132 header_output = BasicDeclare.subst(iop) 133 decoder_output = BasicConstructor.subst(iop) 134 decode_block = BasicDecode.subst(iop) 135 exec_output = FpUnimplExecute.subst(iop) 136}}; | 130 ''' 131 iop = InstObjParams(name, Name, 'FpUnimpl', fpunimpl_code, flags) 132 header_output = BasicDeclare.subst(iop) 133 decoder_output = BasicConstructor.subst(iop) 134 decode_block = BasicDecode.subst(iop) 135 exec_output = FpUnimplExecute.subst(iop) 136}}; |