예제 #1
0
파일: fpu.c 프로젝트: V10lator/emumaster
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;
  }
}
예제 #2
0
void CEIL_W_S(void)
{
   if (check_cop1_unusable()) return;
   ceil_w_s(reg_cop1_simple[cffs], (int*)reg_cop1_simple[cffd]);
   PC++;
}