Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    SIMD Cross-platform headers 2004.10.26

    Download button

    No screenshots available
    Downloads: 533  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Patrick Roberts | More programs
    zlib/libpng License / FREE
    March 17th, 2006, 17:12 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    SIMD Cross-platform headers description

    SIMD Cross-platform headers is a cross- platform, cross-compiler, cross CPU C/C++ header collection.

    SIMD Cross-platform headers is a cross- platform, cross-compiler, cross CPU C/C++ header collection that aids the creation portable vectorized (SIMD) C/C++ code.

    SIMD Cross-platform headerst supports (or partially supports) x86 (MMX/SSE/SSE2) GCC and MSVC, PPC Altivec GCC and CodeWarrior, ARM GCC, and software-emulated SIMD.

    NOTE: Code must be 16-byte aligned. Align to 16 when allocating memory.

    X86/XSCALE (Intel) vs. PowerPC/MIPS

    While the PowerPC and MIPS SIMD instructions take 2 source vectors and a destination vector, the Intel platforms only take a source and destination. Example:

    PPC/MIPS can do:

    C = A + B

    X86 can only do:

    A = A + B (or A+=B)

    Code written either way will work on the X86, and still be faster than 387 math, but preserving the registers takes significant overhead (Disassemble the test program for an example. The prints preserve, the 'disassembly test' does not.) For the fastest code between systems, write your SIMD math as the X86 expects, manually preserving SIMD variables.

    At least GCC for PPC doesn't seem to have any issues figuring out how to deal with a source and destination memory address being the same.

    What's New in This Release:

    · Created file with some i386, GCC dialect



    Product's homepage

      


    TAGS:

    SIMD headers | C++ library | cross-compiler headers | SIMD | Cross-platform | headers

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM