faults.cc (11877:5ea85692a53e) | faults.cc (12110:c24ee249b8ba) |
---|---|
1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 94 unchanged lines hidden (view full) --- 103/*template<> SparcFaultBase::FaultVals 104 SparcFault<UnimplementedSTD>::vals = 105 {"unimp_std", 0x013, 6, {H, H, H}};*/ 106 107template<> SparcFaultBase::FaultVals 108 SparcFault<FpDisabled>::vals = 109{"fp_disabled", 0x020, 800, {P, P, H}, FaultStat()}; 110 | 1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 94 unchanged lines hidden (view full) --- 103/*template<> SparcFaultBase::FaultVals 104 SparcFault<UnimplementedSTD>::vals = 105 {"unimp_std", 0x013, 6, {H, H, H}};*/ 106 107template<> SparcFaultBase::FaultVals 108 SparcFault<FpDisabled>::vals = 109{"fp_disabled", 0x020, 800, {P, P, H}, FaultStat()}; 110 |
111/* SPARCv8 and SPARCv9 define just fp_disabled trap. SIMD is not contemplated 112 * as a separate part. Therefore, we use the same code and TT */ |
|
111template<> SparcFaultBase::FaultVals | 113template<> SparcFaultBase::FaultVals |
114 SparcFault<VecDisabled>::vals = 115{"fp_disabled", 0x020, 800, {P, P, H}, FaultStat()}; 116 117template<> SparcFaultBase::FaultVals |
|
112 SparcFault<FpExceptionIEEE754>::vals = 113{"fp_exception_ieee_754", 0x021, 1110, {P, P, H}, FaultStat()}; 114 115template<> SparcFaultBase::FaultVals 116 SparcFault<FpExceptionOther>::vals = 117{"fp_exception_other", 0x022, 1110, {P, P, H}, FaultStat()}; 118 119template<> SparcFaultBase::FaultVals --- 706 unchanged lines hidden --- | 118 SparcFault<FpExceptionIEEE754>::vals = 119{"fp_exception_ieee_754", 0x021, 1110, {P, P, H}, FaultStat()}; 120 121template<> SparcFaultBase::FaultVals 122 SparcFault<FpExceptionOther>::vals = 123{"fp_exception_other", 0x022, 1110, {P, P, H}, FaultStat()}; 124 125template<> SparcFaultBase::FaultVals --- 706 unchanged lines hidden --- |