home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 4,083 of 4,675   
   aen@nospicedham.spamtrap.com to Bonita.Montero@nospicedham.gmail.co   
   Re: virtualbox vcvtsi2sd illegal instruc   
   10 Aug 20 20:02:09   
   
   On Mon, 10 Aug 2020 20:24:51 +0200, Bonita Montero   
    wrote:   
   ...   
   >   
   >But why has AVX this three-parameter-versions and the destination   
   >parameter where the double is written to is the first parameter,   
   >i.e. the second is ignored ?   
   >   
   You can better see the value of the three-parameter versions in an   
   instruction like:   
      
   VADDSD xmm1,xmm2,xmm3   
      
   That adds xmm2 and xmm3 and puts the result into xmm1, but doesn't   
   change xmm2 (which is the point).   
      
   so instead of:   
      
   movsd xmm1,xmm2   
   addsd xmm1,xmm3   
      
   you can do it with just one instruction.   
   --   
   aen   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca