示例#1
0
文件: fpu.c 项目: V10lator/emumaster
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;
  }
}
示例#2
0
void ROUND_L_S(void)
{
   if (check_cop1_unusable()) return;
   round_l_s(reg_cop1_simple[cffs], (long long*)(reg_cop1_double[cffd]));
   PC++;
}