mirror of
https://github.com/yuzu-mirror/dynarmic.git
synced 2026-03-07 05:23:48 +01:00
28 lines
555 B
C++
28 lines
555 B
C++
/* 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
|
|
|
|
#include "common/fp/fpsr.h"
|
|
#include "frontend/A64/FPCR.h"
|
|
|
|
namespace Dynarmic::FP {
|
|
|
|
using FPCR = A64::FPCR;
|
|
|
|
enum class FPExc {
|
|
InvalidOp,
|
|
DivideByZero,
|
|
Overflow,
|
|
Underflow,
|
|
Inexact,
|
|
InputDenorm,
|
|
};
|
|
|
|
void FPProcessException(FPExc exception, FPCR fpcr, FPSR& fpsr);
|
|
|
|
} // namespace Dynarmic::FP
|