This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: -mfpmath=sse -fpic vs double constants


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]