Re: [eigen] geometry module |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] geometry module
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Wed, 8 Sep 2010 14:11:52 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=ONv37VDrViINRCEE6Miv82+Uv37DahYzfpJpa9EY6z4=; b=bGUT+crUj36UjVwC63hv+xnhvmD7a2NwohagV9JyytJsxwYhOGIec5+54zbvT0bGB0 zhZvkhyNn25LxdhUceOwJUP+WhLiTBy8qvKxNShz0X8EiX0PISLGKfFTp88ZuOyA8gmE UgrX3/PbnUvPYAgYppwStuIMtKJKPMy82lz9Q=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=qdHKrRInPjih8SCJPlg8IGfRxA9H2cmFrGj4gAOwy2su3oWjhw37Y/BeyeSS+tdjpo 0nY3L05W0XJeYlhr6PDomAef8FrBnb49PR12RTlX5NML+YFU7JT0g8wsi2wt6YTlbS+O 8XHSWRPSB9464kfyFuxIV+lZsPGqPTzh3aaZE=
On Wed, Sep 8, 2010 at 2:04 PM, Gael Guennebaud
<gael.guennebaud@xxxxxxxxx> wrote:
> The problem is not the copy which are well optimized away by gcc, but
> the extra 5 shuffling. Maybe some shuffling can be removed by directly
> vectorizing the quaternion * vector product (we currently vectorize
> quat*quat only).
>
sorry, there are not 5 extra shuffling only, but 7 (!), and gcc
already optimized out 2 of them. I'm wondering how this vectorized
cross3 function can be faster than a scalar cross product....
gael