[PATCH] Vectorize conversions directly
Dmitry Plotnikov
dplotnikov@ispras.ru
Thu Dec 9 14:06:00 GMT 2010
Thank you for comments! New patch attached.
On 11/27/2010 12:10 AM, Richard Henderson wrote:
>> +(define_insn "floatv2siv2sf2"
>> + [(set (match_operand:V2SF 0 "s_register_operand" "=w")
>> + (fix:V2SF (match_operand:V2SI 1 "s_register_operand" "w")))]
> Wrong rtl code here; s/fix/float/.
Fixed.
>> +(define_insn "floatunsv2siv2sf2"
>> + [(set (match_operand:V2SF 0 "s_register_operand" "=w")
>> + (unspec:V2SF [(match_operand:V2SI 1 "s_register_operand" "w")]
>> + UNSPEC_FLOATU))]
> Why are you not using the unsigned_float rtl code?
>
Unspecs replaced with unsigned_float and unsigned_fix.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vect-conv.patch
Type: text/x-patch
Size: 11601 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101209/aab90544/attachment.bin>
More information about the Gcc-patches
mailing list