Fröhling

Niels Fröhling about [X]HTML, JS and technical tidbits

  • Home
  • About
January 8th, 2010

OP-equivalent series (paddq)

Ethatron in Equivalence

paddq (64bit + 64bit = 64bit):
movq mm7, mmc
paddd mmc, mma
psubd mm7, 0×80000000
psubd mmc, 0×80000000
pcmpgtd mm7, mmc
paddd mmc, 0×80000000
psllq mm7, 32
psubd mmc, mm7

Weiterlesen...

Kein Kommentar
January 8th, 2010

OP-equivalent series (packusqd, packssqud)

Ethatron in Equivalence

packusqd (saturated clamp from unsigned long long to unsigned long),
packssqud (saturated clamp from signed long long to unsigned long):
There is a condition for unsigned long long inputs, range is “only” [0x0000000000000000, 0x7FFFFFFFFFFF].
There is a no condition for signed long long inputs.
// from-scratch, no helper available

/* -1 */
pcmpeqd mm6, [...]

Weiterlesen...

Kein Kommentar

Tags

  • Algorithms Assembler bash C++ Homemade Javascript MMX Optimization Rants TYPO3

Categories

    • Applications
      • TYPO3
    • TidBits
      • Algorithms
      • Approximations
      • Equivalence
      • Fixes
      • Javascript
      • Optimizations
      • Scripts
    • Uncategorized

Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org

Recent Posts

    • jQuery’s animate is short-thought
    • movntq alignment
    • OP-equivalent series (pavgd)
    • OP-equivalent series (psubq)
    • OP-equivalent series (paddq)

 

  • January 2010
    M T W T F S S
    « Jul   Feb »
     123
    45678910
    11121314151617
    18192021222324
    25262728293031

Archives

    • August 2010
    • April 2010
    • February 2010
    • January 2010
    • July 2009
    • February 2009
    • December 2008
    • November 2008
    • August 2008
    • July 2008
    • May 2008
© 2010 Wired by Fröhling
Design von Dezzain Studio
Übersetzt von Htwo
Nature Pictures | Bamboo Blinds