Re: [PATCH 1/3] Replace i2f() in r600_blit.c with an optimized version.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Steven,


thank you for your patches.

Am Montag, den 06.08.2012, 11:14 -0700 schrieb Steven Fuerst:
> Replace i2f() in r600_blit.c with an optimized version.
> 
> We use __fls() to find the most significant bit.  Using that, the
> loop can be avoided.  A second trick is to use the mod(32)
> behaviour of the rotate instructions on x86 to expand the range
> of the unsigned int to float conversion to the full 32 bits.
> 
> The routine is now exact up to 2^24.  Above that, we truncate which
> is equivalent to rounding towards zero.
> 
> Signed-off-by: Steven Fuerst <svfuerst@xxxxxxxxx>
> ---
>  drivers/gpu/drm/radeon/r600_blit.c |   52
> +++++++++++++++++++++---------------

Unfortunately you sent your message not just as plain text [1] and the
Google Mail mailer automatically wrapped the lines and there mangled the
patch.

Please use a “good” mail client or just `git sent-email`. The manual
page has a section explaining how to set it up with Google Mail I think.
It would be great if you could resent your patches as `[PATCH][RESENT]`
(option `--subject-prefix=…` of `git format-patch`) since there is no
functional change.

[…]


Thanks,

Paul


[1] http://en.opensuse.org/openSUSE:Mailing_list_netiquette

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux