Ejemplo n.º 1
0
void cvt_w_s(float *source,int *dest)
{
  switch(FCR31&3)
  {
    case 0: round_w_s(source,dest);return;
    case 1: trunc_w_s(source,dest);return;
    case 2: ceil_w_s(source,dest);return;
    case 3: floor_w_s(source,dest);return;
  }
}
Ejemplo n.º 2
0
void FLOOR_W_S(void)
{
   if (check_cop1_unusable()) return;
   floor_w_s(reg_cop1_simple[cffs], (int*)reg_cop1_simple[cffd]);
   PC++;
}