Revision f51bbbfe target-arm/op.c

b/target-arm/op.c
475 475
}
476 476

  
477 477
/* misc */
478
void OPPROTO op_clz_T0(void)
479
{
480
    int count;
481
    for (count = 32; T0 > 0; count--)
482
        T0 = T0 >> 1;
483
    T0 = count;
484
    FORCE_RET();
485
}
486

  
487 478
#define SIGNBIT (uint32_t)0x80000000
488 479
/* saturating arithmetic  */
489 480
void OPPROTO op_addl_T0_T1_setq(void)

Also available in: Unified diff