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; } }
void CEIL_W_S(void) { if (check_cop1_unusable()) return; ceil_w_s(reg_cop1_simple[cffs], (int*)reg_cop1_simple[cffd]); PC++; }