Re: Fwd: [x86, PATCH] More effecient code for short unsigned conversion to float-point.

2013-08-12 Thread Kirill Yukhin
message -- From: Uros Bizjak ubiz...@gmail.com Date: 2013/8/7 Subject: Re: [x86, PATCH] More effecient code for short unsigned conversion to float-point. To: Yuri Rumyantsev ysrum...@gmail.com Ah, OK, I see where I did a thinko. The patch looks OK, then. Uros.

Re: Fwd: [x86, PATCH] More effecient code for short unsigned conversion to float-point.

2013-08-12 Thread Uros Bizjak
On Mon, Aug 12, 2013 at 2:31 PM, Kirill Yukhin kirill.yuk...@gmail.com wrote: part of the thread was accidentally removed from gcc-patches. I've comitted Yuri's patch into ML: http://gcc.gnu.org/ml/gcc-cvs/2013-08/msg00272.html As far as discussion was out of ML - feel free to object. I

[x86, PATCH] More effecient code for short unsigned conversion to float-point.

2013-08-06 Thread Yuri Rumyantsev
Hi All, Here is simple fix which produces more optimal code unsigned char(short) to float(double) with direct rtl-generation. Bootstrapping and regression testing were successful for x86-64. Is it OK for trunk? ChangeLog: 2013-08-06 Yuri Rumyantsev ysrum...@gmail.com * config/i386/i386.md

Re: [x86, PATCH] More effecient code for short unsigned conversion to float-point.

2013-08-06 Thread Andreas Schwab
Yuri Rumyantsev ysrum...@gmail.com writes: * config/i386/i386.md (floatunssimode2 expand): Add support for QI/HImode operand to produce more effecient code for s/effecient/efficient/ Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748

Re: [x86, PATCH] More effecient code for short unsigned conversion to float-point.

2013-08-06 Thread Richard Henderson
On 08/06/2013 04:33 AM, Yuri Rumyantsev wrote: -(define_expand floatunssimode2 +(define_expand floatunsSWI124:modeX87MODEF:mode2 [(parallel [(set (match_operand:X87MODEF 0 register_operand) (unsigned_float:X87MODEF - (match_operand:SI 1 nonimmediate_operand))) +