Re: gcc 10 fpcr

2020-04-20 Thread Joel Sherrill
Thanks. We will try this. FWIW git blame says this inline asm is 11 years old and the new GCC reported this. :) --joel On Sun, Apr 19, 2020 at 2:55 AM Uros Bizjak wrote: > Hello! > > > Over at RTEMS, we have had a report that this very old code has quit > > compiling: > > > > #ifdef __SSE__ >

Re: gcc 10 fpcr

2020-04-19 Thread Uros Bizjak via Gcc
Hello! > Over at RTEMS, we have had a report that this very old code has quit > compiling: > > #ifdef __SSE__ > #define _CPU_Context_restore_fp(fp_context_pp) \ > do { \ >__asm__ __volatile__( \ > "fldcw %0"