fp.isa (12106:7784fac1b159) fp.isa (12110:c24ee249b8ba)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2003-2005 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

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

45 inline Fault checkFpEnableFault(CPU_EXEC_CONTEXT *xc)
46 {
47 Fault fault = NoFault; // dummy... this ipr access should not fault
48 if (FullSystem && !ICSR_FPE(xc->readMiscReg(IPR_ICSR))) {
49 fault = std::make_shared<FloatEnableFault>();
50 }
51 return fault;
52 }
1// -*- mode:c++ -*-
2
3// Copyright (c) 2003-2005 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

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

45 inline Fault checkFpEnableFault(CPU_EXEC_CONTEXT *xc)
46 {
47 Fault fault = NoFault; // dummy... this ipr access should not fault
48 if (FullSystem && !ICSR_FPE(xc->readMiscReg(IPR_ICSR))) {
49 fault = std::make_shared<FloatEnableFault>();
50 }
51 return fault;
52 }
53 inline Fault checkVectorEnableFault(CPU_EXEC_CONTEXT *xc) {
54 return std::make_shared<VectorEnableFault>();
55 }
53}};
54
55output header {{
56 /**
57 * Base class for general floating-point instructions. Includes
58 * support for various Alpha rounding and trapping modes. Only FP
59 * instructions that require this support are derived from this
60 * class; the rest derive directly from AlphaStaticInst.

--- 245 unchanged lines hidden ---
56}};
57
58output header {{
59 /**
60 * Base class for general floating-point instructions. Includes
61 * support for various Alpha rounding and trapping modes. Only FP
62 * instructions that require this support are derived from this
63 * class; the rest derive directly from AlphaStaticInst.

--- 245 unchanged lines hidden ---