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: Rohit Garg <rpg.314@xxxxxxxxx>
- Date: Thu, 26 Mar 2009 18:41:39 +0530
- 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=T0SPAysdJJ1L5knmUdJh1f0EkVSYFraszSOx0avrvLk=; b=l6qzpYFNSUFg6Tq0H4TwvF+u3irBf+lAcDHF4iOZ7lv56U8ClBoqrJSkoJnAi41/bQ AUj5WXUTHh2VEyoRq5E1GeYWmtKQP6htGUY4M1GFWti924CAx6+ibXI/9CSnLfjj7sZY UOxvOUo5PE3VaUJvdeyJjkHpTnEUdQSZNP0+c=
- 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=v52EoA3S/R2kN1URZX7ud8plej7HBvjZOBduoW8Fk7dBlB0qDvDBWYySRPbsrMWk4i 6W+caZtcN4d4y98en5DlLMR1noSiQt79I6y0c5KQGFVn2b285yjfC472Ro3zRJMmSUU8 c5YlguCLbqVHTdk7kV8hCng2RjXrArzfeWL84=
I was looking through the svn log and i found this
r944892 | ggael | 2009-03-26 18:20:24 +0530 (Thu, 26 Mar 2009) | 6 lines
* enable vectorization of sin, cos, etc. by default with an option to
disable them (-DEIGEN_FAST_MATH=0)
* add a specialization of MatrixBase::operator*(RealScalar) for fast
"matrix of complex" times scalar products (even more useful for
autodiff scalar types)
1) It could be obvious but what does the DEIGEN_FAST_MATH macro do?
2) do you feel there is place for fast implementations of such
transcendental functions in eigen? I think we should clearly advertise
in the documentation that the SSE version is for 'fast-operations' as
seems to be the case. BTW, automagically enabling these when the user
compiles with -ffast-math would be cool.
3) any particular reason why the sincos4f from the Julian's sources
hasn't made it in yet?
--
Rohit Garg
http://rpg-314.blogspot.com/
Senior Undergraduate
Department of Physics
Indian Institute of Technology
Bombay