Re: [Mingw-w64-public] intrin-impl.h and @cc

2015-11-21 Thread Ozkan Sezer
> Hi dw, > > patch is ok. I assume that this feature can produce in some > inline-assembler cases speed pretty well. Additionally it avoid > useless clobber of a register just to test one-time on flags. > > JonY, Jacek: Could one of you commit this change? thanks in advance. > > Thanks, > Kai

Re: [Mingw-w64-public] intrin-impl.h and @cc

2015-11-19 Thread Kai Tietz
Hi dw, patch is ok. I assume that this feature can produce in some inline-assembler cases speed pretty well. Additionally it avoid useless clobber of a register just to test one-time on flags. JonY, Jacek: Could one of you commit this change? thanks in advance. Thanks, Kai 2015-11-18 2:42 G

[Mingw-w64-public] intrin-impl.h and @cc

2015-11-18 Thread dw
GCC 6.0 has introduced a new feature that allows inline asm to return flag registers (see https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html#FlagOutputOperands). There are a couple dozen intrinsics in intrin-impl.h that would benefit from using this. There is a define that signals if the gc