Skip to content

build for the platforms without SIMD and 32-bit platforms out of the box correctly #81

Open

Description

@KOLANICH

Compression of integers is an algo. It should be possible to decompress the data compressed this way on such platforms.

Activity

  1. searchivarius commented on Jun 28, 2021

    @searchivarius
    Collaborator

    SIMD algorithms on a Turing machine seems like a very cool topic. There are no major platforms without SIMD nowadays. A big question is how to support them all without handcrafted assembly. It's not possible IMHO without some standardization on vendors side or reliance on somewhat limited libraries like SIMDE.

  2. KOLANICH commented on Jun 28, 2021

    @KOLANICH
    Author

    There are no major platforms without SIMD nowadays.

    I guess such a statement is almost equivalent to calling platforms without SIMD as non-platforms ("a calculator" 🖩 as some people call them) and treating people using them as subhumans.

    big question is how to support them all without handcrafted assembly.

    I guess, OpenCL may be helpful. Also old plain C++ without using any SIMD.

  3. searchivarius commented on Jun 28, 2021

    @searchivarius
    Collaborator

    The library has non-SIMD codecs as well: https://github.com/lemire/FastPFor/blob/master/headers/codecfactory.h

    Performance is expectedly underwhelming compared to SIMD versions. So, bad news for platforms without SIMD.

  4. KOLANICH commented on Jun 28, 2021

    @KOLANICH
    Author

    The library has non-SIMD codecs as well: https://github.com/lemire/FastPFor/blob/master/headers/codecfactory.h

    It is good. Then I'd just need to fix CMake scripts to make it work. Because recently I have tried to build it for Pentium III, and got an error about lack of SIMD.

  5. changed the title [-]Support platforms without SIMD[/-] [+]Fix CMake scripts to build for the platforms without SIMD out of the box correctly[/+] on Jun 28, 2021
  6. lemire commented on Jun 28, 2021

    @lemire
    Member

    The library requires x64 processors, as indicated in the 'hardware requirements' section of the README. The Pentium III is not an x64 processor.

  7. changed the title [-]Fix CMake scripts to build for the platforms without SIMD out of the box correctly[/-] [+]build for the platforms without SIMD out of the box correctly[/+] on Jun 28, 2021
  8. changed the title [-]build for the platforms without SIMD out of the box correctly[/-] [+]build for the platforms without SIMD and 32-bit platforms out of the box correctly[/+] on Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions