Ejemplo n.º 1
0
void cvt_l_s(float *source,long long *dest)
{
  switch(FCR31&3)
  {
    case 0: round_l_s(source,dest);return;
    case 1: trunc_l_s(source,dest);return;
    case 2: ceil_l_s(source,dest);return;
    case 3: floor_l_s(source,dest);return;
  }
}
Ejemplo n.º 2
0
void TRUNC_L_S(void)
{
   if (check_cop1_unusable()) return;
   trunc_l_s(reg_cop1_simple[cffs], (long long*)(reg_cop1_double[cffd]));
   PC++;
}