Relicense to 0BSD

This commit is contained in:
MerryMage 2020-04-23 15:25:11 +01:00
parent d51a83d265
commit a8a712c801
286 changed files with 574 additions and 1035 deletions

View file

@ -1,7 +1,6 @@
/* 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.
* SPDX-License-Identifier: 0BSD
*/
#include "common/assert.h"
@ -15,37 +14,37 @@ void FPProcessException(FPExc exception, FPCR fpcr, FPSR& fpsr) {
switch (exception) {
case FPExc::InvalidOp:
if (fpcr.IOE()) {
UNIMPLEMENTED();
ASSERT_FALSE("Raising floating point exceptions unimplemented");
}
fpsr.IOC(true);
break;
case FPExc::DivideByZero:
if (fpcr.DZE()) {
UNIMPLEMENTED();
ASSERT_FALSE("Raising floating point exceptions unimplemented");
}
fpsr.DZC(true);
break;
case FPExc::Overflow:
if (fpcr.OFE()) {
UNIMPLEMENTED();
ASSERT_FALSE("Raising floating point exceptions unimplemented");
}
fpsr.OFC(true);
break;
case FPExc::Underflow:
if (fpcr.UFE()) {
UNIMPLEMENTED();
ASSERT_FALSE("Raising floating point exceptions unimplemented");
}
fpsr.UFC(true);
break;
case FPExc::Inexact:
if (fpcr.IXE()) {
UNIMPLEMENTED();
ASSERT_FALSE("Raising floating point exceptions unimplemented");
}
fpsr.IXC(true);
break;
case FPExc::InputDenorm:
if (fpcr.IDE()) {
UNIMPLEMENTED();
ASSERT_FALSE("Raising floating point exceptions unimplemented");
}
fpsr.IDC(true);
break;