Re: [eigen] sse transcendental functions |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] sse transcendental functions
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Wed, 25 Mar 2009 18:07:20 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=jm3SqWzm646NjT4wzdIw3kArKh50/rbSYnrz1yyOIQk=; b=BkIIB/BEtThPrBt4985eHmgcXFJcUswTx5iwUnkgI5lBpPe6gPFmP6LWp+u4FemK0Y nLRKrlHB8UTU07zGD7hspGyMvSSl4KZvPXbLYfIdYCyfkSnmBQbpXwOPfkdKy8SU2y4M E3N/XsLSHo5w/UdlKubnOWBgV3fLhbmitUwsk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=riEToHdz5PuQgSS1XSGg3VK/T5FVFKCQo5ptcpvcTyQYRtFuy4JkK3ZdQnwNDWMT4f LR8HJRon9c4uqDvBMTZeoS2AiiNT62SY1TAhFYkF0uZ+N8eEtbfuuGi7efx+v0kR1d0k DJZa7xtpsrOlu1J26oPjzAQqsojL+4HOZsV40=
ok, so this actually corresponds to the SIMD lib by Sony, and their
SSE sinf4 is indeed slightly faster (200M calls versus 177M) but it is
only valid in the range [-pi/4 : pi/4] so it is quite useless for us.
Note that both implementations are based on exactly the same principle
and the speed difference is 100% explained by the handling of a much
wider range of values
gael.
On Wed, Mar 25, 2009 at 5:36 PM, Rohit Garg <rpg.314@xxxxxxxxx> wrote:
> I'll dig them up
>
>
> On Wed, Mar 25, 2009 at 10:06 PM, Gael Guennebaud
> <gael.guennebaud@xxxxxxxxx> wrote:
>> where are they ? I can only find btsin and btCos which simply call the
>> standard C functions....
>>
>> On Wed, Mar 25, 2009 at 3:35 PM, Rohit Garg <rpg.314@xxxxxxxxx> wrote:
>>> please consider benching these against the sin, cos, acos, sincos
>>> implementations in bullet physics sdk. It is bsd licensed and may be
>>> faster.
>>>
>>> --
>>> Rohit Garg
>>>
>>> http://rpg-314.blogspot.com/
>>>
>>> Senior Undergraduate
>>> Department of Physics
>>> Indian Institute of Technology
>>> Bombay
>>>
>>>
>>>
>>
>>
>>
>
>
>
> --
> Rohit Garg
>
> http://rpg-314.blogspot.com/
>
> Senior Undergraduate
> Department of Physics
> Indian Institute of Technology
> Bombay
>
>
>