Re: TARGET_ATOMIC_ASSIGN_EXPAND_FENV

2014-01-29 Thread Marcus Shawcroft
Look at the arm and aarch64 implementations of these functions in glibc. /Marcus Sent from my iPhone > On 30 Jan 2014, at 06:34, Kugan wrote: > > I had a look at the missing target hook TARGET_ATOMIC_ASSIGN_EXPAND_FENV > to fix the C11 memory model testcase in regressions in trunk. > > I l

TARGET_ATOMIC_ASSIGN_EXPAND_FENV

2014-01-29 Thread Kugan
I had a look at the missing target hook TARGET_ATOMIC_ASSIGN_EXPAND_FENV to fix the C11 memory model testcase in regressions in trunk. I looked at the x86 implementation of this target hooks and x86 has instructions (FNSTENV,FLDENV,FNSTSW,FNCLEX) for feholdexcept, feclearexcept and feupdateenv. Do