http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57056



Steven Fuerst <svfuerst at gmail dot com> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

                 CC|                            |svfuerst at gmail dot com



--- Comment #2 from Steven Fuerst <svfuerst at gmail dot com> 2013-04-26 
01:23:24 UTC ---

If you use the pextrw instruction, then you can avoid the shift, saving an

instruction.



i.e. Something like:



pextrw  $0x3, %xmm0, %rax

and     $0x7ff0, %ax

sub     $0x7ff0, %ax

sbb     %eax, %eax

retq

Reply via email to