Turn res_M and res_V into macros

This commit is contained in:
twinaphex 2015-12-09 16:31:59 +01:00
parent 0ae74b93a2
commit 7a17289785

View File

@ -73,7 +73,7 @@ static ALIGNED short VACC[3][N];
#include "vu/clamp.h"
#include "vu/cf.h"
static void res_V(int vd, int vs, int vt, int e)
static INLINE void res_V(int vd, int vs, int vt, int e)
{
register int i;
@ -86,12 +86,8 @@ static void res_V(int vd, int vs, int vt, int e)
VR[vd][i] = 0x0000; /* override behavior (bpoint) */
}
static void res_M(int vd, int vs, int vt, int e)
{
/* VMUL IQ */
res_V(vd, vs, vt, e);
/* Ultra64 OS did have these, so one could implement this ext. */
}
/* Ultra64 OS did have these, so one could implement this ext. */
#define res_M(vd, vs, vt, e) res_V(vd, vs, vt, e);
#include "vu/add.h"
#include "vu/logical.h"