Skip to content
Stefano Tommesani

  • Home
  • Programming
    • SIMD on x64/x86
    • Multi-thread
    • C# and .NET
    • Testing
  • Software
  • Video
  • Marketing
  • About me
  • Home
  • Programming
    • SIMD on x64/x86
    • Multi-thread
    • C# and .NET
    • Testing
  • Software
  • Video
  • Marketing
  • About me
  • SIMD on x64/x86

    MMX Shift Instructions: Logical, Arithmetic, and 64-bit Shifts

    April 24, 2010

    The logical shift left, logical shift right and arithmetic shift right instructions shift each element by a specified number of bits. The logical left and right shifts also enable a 64-bit quantity (quadword) to be shifted as one block, assisting in data type conversions and alignment operations.   PSLLW mm,…

    Continue Reading
  • SIMD on x64/x86

    MMX Logical

    April 24, 2010

    PAND mm, mm/m64 PANDN mm, mm/m64 POR mm, mm/m64 PXOR mm, mm/m64 The PAND (Bitwise Logical And), PANDN (Bitwise Logical And Not), POR (Bitwise Logical OR), and PXOR (Bitwise Logical Exclusive OR) instructions perform bitwise logical operations on 64-bit quantities. The destination operand is an MMX register, while the source…

    Continue Reading
  • SIMD on x64/x86

    MMX Programming Examples: Masks, Packing, and Packed Integer tricks

    April 24, 2010

    This section describes example uses of the MMX instruction set to implement basic coding structures. Conditional Select Operating on multiple data operands using a single instruction presents an interesting issue: what happens when a computation is only done if the operand value passes some conditional check? For example, in an…

    Continue Reading
  • SIMD on x64/x86

    MMX EMMS: Why _mm_empty() Is Required After MMX Code

    April 24, 2010

    MMX was Intel’s first widely used SIMD instruction set for x86 processors. It introduced packed integer operations that could process multiple small values at once inside a single 64-bit register. For its time, this was extremely useful. MMX made it possible to accelerate image processing, audio processing, video decoding, graphics…

    Continue Reading
  • SIMD on x64/x86

    MMX Data Transfer: loading, storing, and moving packed integers

    April 24, 2010

    When stored in memory the bytes, words, and doublewords in the packed data types are stored in consecutive addresses, with the least significant byte, word, or doubleword being stored in the lowest address and the more significant bytes, words, or doubleword being stored at consecutively higher addresses. The ordering of…

    Continue Reading
  • SIMD on x64/x86

    MMX Conversion Instructions: packing, unpacking, and reordering data

    April 24, 2010

    There are several cases where elements of packed data may be required to be repositioned within the packed data, or the elements of two packed data operands may need to be merged. There are cases where either input or the desired output representation of a data may not be ideal…

    Continue Reading
  • SIMD on x64/x86

    MMX Comparison Instructions: building masks for packed integers

    April 24, 2010

    These instructions generate a mask of ones or zeros which can be used by logical operations to select elements within a register: a developer can implement a packed conditional move operation without a set of branch instructions.

    Continue Reading
  • SIMD addition
    SIMD on x64/x86

    MMX Arithmetic Instructions: Wrapping, Saturation, and Packed Multiplication

    April 24, 2010

    The MMX technology supports both saturating and wraparound modes. In wraparound mode, results that overflow or underflow are truncated and only the lower (least significant) bits of the result are returned. In saturation mode, results of an operation that overflow or underflow are clipped (saturated) to a data-range limit for…

    Continue Reading
  • SIMD on x64/x86

    SSE Integer Instructions: the MMX extensions introduced with SSE

    April 24, 2010

    Intel’s Streaming SIMD Extensions, better known as SSE, are often associated with 128-bit floating-point operations on XMM registers. That is the part of SSE most developers remember today: four single-precision floating-point values packed into one register and processed with one instruction. However, the original SSE instruction set did more than…

    Continue Reading
  • SIMD on x64/x86

    MMX Primer: Packed Integer SIMD on Early x86 CPUs

    April 24, 2010

    MMX was the first widely adopted SIMD instruction set on x86 processors. It was introduced by Intel in the Pentium MMX generation and later supported by AMD and other x86-compatible processors. At the time, it was a major step forward for multimedia and communications software because it allowed one instruction…

    Continue Reading
 Older Posts
Newer Posts 

Recent Posts

  • AltaLux 3.0: choose what to enhance
  • From API dependencies to portfolios of Suppliers
  • How benchmarks guided Codex to faster kernels in AltaLux V2
  • AltaLux 2.0: a new multiscale engine and a simpler way to enhance images
  • Terminal thinking

Downloads

Icon
AltaLux v. 3.0.2 plugin for IrfanView – Segmentation add-on installer
0.00 KB 1 file(s)
Icon
AltaLux v. 3.0.2 plugin for IrfanView – Segmentation add-on
0.00 KB 1 file(s)
Icon
AltaLux v. 3.0.2 plugin for IrfanView - x86 version
0.24 KB 1 file(s)
Icon
AltaLux v. 3.0.2 plugin for IrfanView - x64 version
0.24 KB 1 file(s)
Icon
Vigilo 0.9.0
0.00 KB 1 file(s)

Vintage CPUs of the day

  • Intel 80486 overdrive 66 MHz Intel 80486 overdrive 66 MHz
  • Intel 80486 overdrive 100 MHz Intel 80486 overdrive 100 MHz
  • Pentium 4 1.5 GHz Pentium 4 1.5 GHz
  • Intel Pentium III 600EB/133 Intel Pentium III 600EB/133

Categories

  • Audio
  • C# and .NET
  • GPGPU
  • Marketing
  • Multi-thread
  • OOD / OOP
  • Programming
  • SDLC
  • SIMD on x64/x86
  • Software
  • Testing
  • Uncategorized
  • Various
  • Video
  • Web
  • Web
© 2026 Stefano Tommesani. All rights reserved.
Graceful Theme by Optima Themes