[12/12] Add fesetexcept: sparc

Jose E. Marchesi jose.marchesi@oracle.com
Fri Aug 12 07:32:00 GMT 2016


    +int
    +fesetexcept (int excepts)
    +{
    +  fenv_t tmp;
    +
    +  __fenv_stfsr (tmp);
    +  tmp |= excepts & FE_ALL_EXCEPT;
    +  __fenv_ldfsr (tmp);

Aren't these stfsr and ldfsr reversed?

    +
    +  return 0;
    +}



More information about the Libc-alpha mailing list