Re: [PATCH, i386]: Optimize ix86_atomic_assign_expand_fenv a bit

2014-07-14 Thread Kyrill Tkachov
On 12/07/14 10:07, Uros Bizjak wrote: Hello! Attached patch optimizes ix86_atomic_assign_expand_fenv by using register form of fnstsw %ax instead of fnstsw mem. This way a memory RW cycle is removed for a temporary. Hi Uros, The patch you attached seems to be the hook implementation for

Re: [PATCH, i386]: Optimize ix86_atomic_assign_expand_fenv a bit

2014-07-14 Thread Uros Bizjak
On Mon, Jul 14, 2014 at 10:05 AM, Kyrill Tkachov kyrylo.tkac...@arm.com wrote: Attached patch optimizes ix86_atomic_assign_expand_fenv by using register form of fnstsw %ax instead of fnstsw mem. This way a memory RW cycle is removed for a temporary. The patch you attached seems to be the

[PATCH, i386]: Optimize ix86_atomic_assign_expand_fenv a bit

2014-07-12 Thread Uros Bizjak
Hello! Attached patch optimizes ix86_atomic_assign_expand_fenv by using register form of fnstsw %ax instead of fnstsw mem. This way a memory RW cycle is removed for a temporary. 2014-07-12 Uros Bizjak ubiz...@gmail.com * config/i386/i386-builtin-types.def: Add USHORT_FTYPE_VOID.