Re: [i386] __builtin_ia32_stmxcsr could be pure

2017-06-21 Thread Uros Bizjak
Hello! > glibc marks fegetround as a pure function. On x86, people tend to use > _MM_GET_ROUNDING_MODE instead, which could benefit from the same. I think it > is safe, but > a second opinion would be welcome. I could have handled just this builtin, > but it seemed better to > provide def_builti

Re: [i386] __builtin_ia32_stmxcsr could be pure

2017-06-20 Thread Marc Glisse
Ping. On Sat, 3 Jun 2017, Marc Glisse wrote: Hello, I don't think Richard's "sounds good" was meant as "ok to commit". Does an x86 maintainer want to approve or criticize the patch? https://gcc.gnu.org/ml/gcc-patches/2017-05/msg02009.html On Fri, 26 May 2017, Richard Biener wrote: On Fri

Re: [i386] __builtin_ia32_stmxcsr could be pure

2017-06-03 Thread Marc Glisse
Hello, I don't think Richard's "sounds good" was meant as "ok to commit". Does an x86 maintainer want to approve or criticize the patch? https://gcc.gnu.org/ml/gcc-patches/2017-05/msg02009.html On Fri, 26 May 2017, Richard Biener wrote: On Fri, May 26, 2017 at 10:55 AM, Marc Glisse wrote:

Re: [i386] __builtin_ia32_stmxcsr could be pure

2017-05-26 Thread Richard Biener
On Fri, May 26, 2017 at 10:55 AM, Marc Glisse wrote: > Hello, > > glibc marks fegetround as a pure function. On x86, people tend to use > _MM_GET_ROUNDING_MODE instead, which could benefit from the same. I think it > is safe, but a second opinion would be welcome. Sounds good. The important part

[i386] __builtin_ia32_stmxcsr could be pure

2017-05-26 Thread Marc Glisse
Hello, glibc marks fegetround as a pure function. On x86, people tend to use _MM_GET_ROUNDING_MODE instead, which could benefit from the same. I think it is safe, but a second opinion would be welcome. I could have handled just this builtin, but it seemed better to provide def_builtin_pure (