[eigen] Re: 4x4 matrix inverse |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] Re: 4x4 matrix inverse
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Mon, 14 Dec 2009 23:37:23 -0500
- 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=J/p+aneaFMIAGCeXiUV1gt+Xtniv/DsNE0ueOnNisaI=; b=PTcJ35p62z0M3BuFkhHkSjTnqHf5i8CUm0CuTfOsRHM8kEKpQ50CPvnqJ9CZQvU9Ax 9HgZuu+CrI0sftuIEvP2mOw+Qx88euBpIhQsFatbbwC5WcqIK/iW4MKH1vD18jN2usTr XoUDjCiYghtldZA+2BBH3RadrFJLnGPrGU7Y0=
- 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=S0BPmd7jXaCp4akx/u8xKWEDRNmlWTb96mYM1K4o1lxeL5lNe9+EdWqYf6ydCHB0sV T+ENJhhmNpi0Ec8sjJ9v6Wn8xNLdauKC3e20D8p85ipsYFNA4mDC1pKlj/W8kzSInPtX qCdDCrjXRsMEryD7zbqYrMy4WkCFG+XNdjoh8=
2009/12/14 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
> I have a question. I currently get warnings in this code (taken
> straight from Intel):
>
> __m128 tmp1;
> tmp1 = _mm_loadh_pi(_mm_loadl_pi(tmp1, (__m64*)(src)), (__m64*)(src+ 4));
>
> The warning claims that tmp1 is used uninitalized here. GCC doesn't
> understand that it only is passed to _mm_loadl_pi that writes into it,
> does not read from it. How to fix that warning? I tested initializing
> tmp1, this had a not-totally-negligible impact on performance (because
> there are 2 more variables that need this). There does not seem to be
> an __attribute__ for this.
Actually, I just rebuilt the unit tests, and I get a ton of mutually
unrelated "uninitialized variable" warnings, with GCC 4.4.2 ! Does
anyone know what's happening?
Benoit