Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ridiculousfish/libdivide
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.2.0
Choose a base ref
...
head repository: ridiculousfish/libdivide
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 18 commits
  • 4 files changed
  • 6 contributors

Commits on Jan 27, 2025

  1. feat: make sanitizer instrumentation optional

    Signed-off-by: Rui Chen <rui@chenrui.dev>
    chenrui333 authored and ridiculousfish committed Jan 27, 2025
    Configuration menu
    Copy the full SHA
    f026996 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2025

  1. Silenced sign-conversion warning

    masbug authored and ridiculousfish committed Mar 7, 2025
    Configuration menu
    Copy the full SHA
    552fca8 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2025

  1. Fix check for __umulh/__mulh intrinsics

     + rename define from LIBDIVIDE_X64_INTRINSICS to LIBDIVIDE_MULH_INTRINSICS
     + __umulh/__mulh available for x64/arm64
    pps83 authored and ridiculousfish committed Mar 28, 2025
    Configuration menu
    Copy the full SHA
    c6b4017 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    70d2a45 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2025

  1. Configuration menu
    Copy the full SHA
    498d751 View commit details
    Browse the repository at this point in the history
  2. Use __builtin_clz/__builtin_clzll implementation for ms compiler

    __builtin_clz/__builtin_clzll for ms compiler taken from https://gist.github.com/pps83/3210a2f980fd02bb2ba2e5a1fc4a2ef0
    pps83 authored and ridiculousfish committed Mar 30, 2025
    Configuration menu
    Copy the full SHA
    5307a32 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2025

  1. Configuration menu
    Copy the full SHA
    2135c35 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf6f158 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #137 from kimwalisch/fix_divq_warning

    Fix Assembler Warning: mnemonic suffix used with `div'
    kimwalisch authored Mar 31, 2025
    Configuration menu
    Copy the full SHA
    6fceb1a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cdc0a1c View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2025

  1. Fix output from tester (#139)

    Due to multiple threads running tests, initial message appears to be mixed up with output from other threads
    pps83 authored Apr 1, 2025
    Configuration menu
    Copy the full SHA
    eee3dc2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bbb68f1 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2025

  1. Only enable NEON on AArch64 (#141)

    AArch32 also has NEON, but lacks some of the intrinsics needed.
    Explicitly check for presence of an AArch64-only intrinsic to
    make the NEON check fail on AArch32.
    
    Fixes		#102
    clausecker authored Apr 2, 2025
    Configuration menu
    Copy the full SHA
    1e03581 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2025

  1. Configuration menu
    Copy the full SHA
    c179d81 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2025

  1. Preserve order of params when calling libdivide_mullhi (#144)

    * Preserve order of params when calling libdivide_mullhi
    
    This change improves code generation in 32-bit builds (shorter code, uses less stack).
    
    * comments
    pps83 authored Apr 4, 2025
    Configuration menu
    Copy the full SHA
    31f1e42 View commit details
    Browse the repository at this point in the history
  2. Add missing function specifiers to match their declaration (#143)

    All these function are declared with `static LIBDIVIDE_INLINE`, but do not have them at definition
    pps83 authored Apr 4, 2025
    Configuration menu
    Copy the full SHA
    a7b5cde View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    99fad03 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2025

  1. Update libdivide.h to support -ffreestanding targets

    Simply check for the value of the `__STDC_HOSTED__` macro before including `<stdlib.h>` or `<stdio.h>` and others.
    Moreover, as an idea for future changes, you could also add some checks for user-provided `LIBDIVIDE_{ERROR|ASSERT}`, as printing to the screen and aborting the program is not always a good thing to do anyways (and is sometimes not even possible, in the case of a freestanding environment)
    brvtalcake authored and ridiculousfish committed May 6, 2025
    Configuration menu
    Copy the full SHA
    8f8dd49 View commit details
    Browse the repository at this point in the history
Loading