This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: -mfpmath=sse -fpic vs double constants
- From: Richard Henderson <rth at redhat dot com>
- To: Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>
- Cc: Dale Johannesen <dalej at apple dot com>, GCC Development <gcc at gcc dot gnu dot org>
- Date: Fri, 8 Jul 2005 09:44:41 -0700
- Subject: Re: RFA: -mfpmath=sse -fpic vs double constants
- References: <fda4ff71b36df5e262502282c5c8ea55@apple.com> <42CE9DC9.1030708@lu.unisi.ch>
On Fri, Jul 08, 2005 at 05:37:45PM +0200, Paolo Bonzini wrote:
> Also, here is some code that tries to load 1.0 into an SSE register
> without using the constant pool. I don't know if it is fast or not.
...
> pinsrwl $3, %1, %0" : "=x" (i) : "r" (0x3ff0));
No, this instruction is dreadfully slow.
r~