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

benchmarks: Various fixes for compiling with Clang #502

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Sep 20, 2023

  1. benchmarks: Don't use GCC's C nested function extension

    It's unnecessary and non-portable; Clang doesn't even implement that
    part of GNU C.
    
    (cherry picked from commit 50d75cb)
    jrtc27 authored and Emil Tywoniak committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    8fe73a6 View commit details
    Browse the repository at this point in the history
  2. benchmarks: Fix init_tls on Clang

    Clang only supports register variables when declared at global scope
    (and only for non-allocatable registers, which is fine for tp), so move
    thread_pointer. This does not make thread_pointer visible outside the
    translation unit, it merely acts as a C alias for tp, so the semantics
    remain unchanged.
    
    (cherry picked from commit 20378c0)
    jrtc27 authored and Emil Tywoniak committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    0962b57 View commit details
    Browse the repository at this point in the history
  3. benchmarks: GCC -> CC

    Emil Tywoniak authored and Emil Tywoniak committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    d1245b5 View commit details
    Browse the repository at this point in the history