rpcsx/rpcs3/Emu/PSP2/Modules/sceFpu.cpp

100 lines
1.8 KiB
C++
Raw Normal View History

#include "stdafx.h"
#include "Emu/System.h"
2016-05-13 12:17:26 +02:00
#include "Emu/PSP2/ARMv7Module.h"
2015-06-21 01:04:01 +02:00
#include "sceFpu.h"
2017-05-13 20:30:37 +02:00
logs::channel sceFpu("sceFpu");
2016-02-01 22:53:16 +01:00
2015-06-21 01:04:01 +02:00
float sceFpuSinf(float x)
{
fmt::throw_exception("Unimplemented" HERE);
2015-06-21 01:04:01 +02:00
}
float sceFpuCosf(float x)
{
fmt::throw_exception("Unimplemented" HERE);
2015-06-21 01:04:01 +02:00
}
float sceFpuTanf(float x)
{
fmt::throw_exception("Unimplemented" HERE);
2015-06-21 01:04:01 +02:00
}
float sceFpuAtanf(float x)
{
fmt::throw_exception("Unimplemented" HERE);
2015-06-21 01:04:01 +02:00
}
float sceFpuAtan2f(float y, float x)
{
fmt::throw_exception("Unimplemented" HERE);
2015-06-21 01:04:01 +02:00
}
float sceFpuAsinf(float x)
{
fmt::throw_exception("Unimplemented" HERE);
2015-06-21 01:04:01 +02:00
}
float sceFpuAcosf(float x)
{
fmt::throw_exception("Unimplemented" HERE);
2015-06-21 01:04:01 +02:00
}
float sceFpuLogf(float x)
{
fmt::throw_exception("Unimplemented" HERE);
2015-06-21 01:04:01 +02:00
}
float sceFpuLog2f(float fs)
{
fmt::throw_exception("Unimplemented" HERE);
2015-06-21 01:04:01 +02:00
}
float sceFpuLog10f(float fs)
{
fmt::throw_exception("Unimplemented" HERE);
2015-06-21 01:04:01 +02:00
}
float sceFpuExpf(float x)
{
fmt::throw_exception("Unimplemented" HERE);
2015-06-21 01:04:01 +02:00
}
float sceFpuExp2f(float x)
{
fmt::throw_exception("Unimplemented" HERE);
2015-06-21 01:04:01 +02:00
}
float sceFpuExp10f(float x)
{
fmt::throw_exception("Unimplemented" HERE);
2015-06-21 01:04:01 +02:00
}
float sceFpuPowf(float x, float y)
{
fmt::throw_exception("Unimplemented" HERE);
2015-06-21 01:04:01 +02:00
}
2016-02-01 22:53:16 +01:00
#define REG_FUNC(nid, name) REG_FNID(SceFpu, nid, name)
2016-02-01 22:53:16 +01:00
DECLARE(arm_module_manager::SceFpu)("SceFpu", []()
{
//REG_FUNC(0x33E1AC14, sceFpuSinf);
//REG_FUNC(0xDB66BA89, sceFpuCosf);
//REG_FUNC(0x6FBDA1C9, sceFpuTanf);
//REG_FUNC(0x53FF26AF, sceFpuAtanf);
//REG_FUNC(0xC8A4989B, sceFpuAtan2f);
//REG_FUNC(0x4D1AE0F1, sceFpuAsinf);
//REG_FUNC(0x64A8F9FE, sceFpuAcosf);
//REG_FUNC(0x936F0D27, sceFpuLogf);
//REG_FUNC(0x19881EC8, sceFpuLog2f);
//REG_FUNC(0xABBB6168, sceFpuLog10f);
//REG_FUNC(0xEFA16C6E, sceFpuExpf);
//REG_FUNC(0xA3A88AD0, sceFpuExp2f);
//REG_FUNC(0x35652326, sceFpuExp10f);
//REG_FUNC(0xDF622E56, sceFpuPowf);
});