Re: [PATCH, fortran ieee]: Clear stalled interrupt flags in glibc set_fpu_trap_exceptions

2019-01-30 Thread Uros Bizjak
On Tue, Jan 29, 2019 at 9:20 PM Steve Kargl wrote: > > On Tue, Jan 29, 2019 at 08:46:40PM +0100, Uros Bizjak wrote: > > > > When changing trap masks, it is necessary to clear pending traps to > > prevent firing spurious interrupts. Attached patch also optimizes > > set_fpu_trap_exceptions functio

Re: [PATCH, fortran ieee]: Clear stalled interrupt flags in glibc set_fpu_trap_exceptions

2019-01-29 Thread Steve Kargl
On Tue, Jan 29, 2019 at 08:46:40PM +0100, Uros Bizjak wrote: > > When changing trap masks, it is necessary to clear pending traps to > prevent firing spurious interrupts. Attached patch also optimizes > set_fpu_trap_exceptions function considerably to only call > feenableexcept and fedisableexcep

[PATCH, fortran ieee]: Clear stalled interrupt flags in glibc set_fpu_trap_exceptions

2019-01-29 Thread Uros Bizjak
Hello! When changing trap masks, it is necessary to clear pending traps to prevent firing spurious interrupts. Attached patch also optimizes set_fpu_trap_exceptions function considerably to only call feenableexcept and fedisableexcept functions each once. 2019-01-29 Uroš Bizjak * config/