2018-06-27 13:51:39 +01:00
|
|
|
/* This file is part of the dynarmic project.
|
|
|
|
* Copyright (c) 2018 MerryMage
|
|
|
|
* This software may be used and distributed according to the terms of the GNU
|
|
|
|
* General Public License version 2 or any later version.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace Dynarmic::FP {
|
|
|
|
|
2018-07-21 14:01:19 -04:00
|
|
|
class FPCR;
|
|
|
|
class FPSR;
|
|
|
|
|
2018-06-27 13:51:39 +01:00
|
|
|
enum class FPExc {
|
|
|
|
InvalidOp,
|
|
|
|
DivideByZero,
|
|
|
|
Overflow,
|
|
|
|
Underflow,
|
|
|
|
Inexact,
|
|
|
|
InputDenorm,
|
|
|
|
};
|
|
|
|
|
|
|
|
void FPProcessException(FPExc exception, FPCR fpcr, FPSR& fpsr);
|
|
|
|
|
2019-05-04 21:03:30 -04:00
|
|
|
} // namespace Dynarmic::FP
|