Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perform unaligned writes via FFI when necessary #587

Merged
merged 19 commits into from
Sep 15, 2023

Commits on May 21, 2023

  1. Configuration menu
    Copy the full SHA
    3cd1cf0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3369aaa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9a54fa1 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2023

  1. Configuration menu
    Copy the full SHA
    19e3279 View commit details
    Browse the repository at this point in the history
  2. fix new old-ghc stuff

    clyring committed May 22, 2023
    Configuration menu
    Copy the full SHA
    21d46be View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    30736f5 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2023

  1. Fix CPP mistakes

    clyring committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    3960a0a View commit details
    Browse the repository at this point in the history
  2. Fix another stupid CPP mistake

    cpp-options: -Werror=undef is pulling its weight already.
    clyring committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    47b68ed View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. Configuration menu
    Copy the full SHA
    e6c88ba View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7e9568b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    145cdac View commit details
    Browse the repository at this point in the history
  4. Revert stimes-related changes

    clyring committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    a4935af View commit details
    Browse the repository at this point in the history
  5. Add question about lowerTable

    clyring committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    66bdc31 View commit details
    Browse the repository at this point in the history
  6. Revert "Omit conditionally-used C bindings when unused"

    This reverts commit 145cdac.
    clyring committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    5cd4d75 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2023

  1. Lots of mostly Float/Double-related tweaks

      - Haskell unaligned write functions now live in a new module:
          Data.ByteString.Utils.UnalignedWrite
      - The word*HexFixed functions now use unaligned writes;
          likewise Data.ByteString.Builder.RealFloat.Internal.copyWord16.
      - An FFI workaround for unaligned Float/Double writes was added.
      - The data tables in Data.ByteString.Builder.Prim.Internal.Base16
          and Data.ByteString.Builder.RealFloat.{D,F}2S now live in
          the new file cbits/aligned-static-hs-data.c so that we can
          fearlessly perform aligned reads from them.
      - The static Word64 data tables are now stored in
          host-byte-order instead of always little-endian.
      - Data.ByteString.Builder.RealFloat.Internal.digit_table
          is now a static data blob instead of a CAF.
      - All CPP around castFloatToWord32/castDoubleToWord64 now
          lives in Data.ByteString.Builder.Prim.Internal.Floating.
    clyring committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    167184a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    22f86df View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e957fb9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    339145e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bfae183 View commit details
    Browse the repository at this point in the history