mcpp index

llvm.compiler-rt-builtins

The compiler-rt builtins as a source package: LLVM's replacement for libgcc — the routines a compiler emits calls to — compiled with the consuming program's own flags

mcpp add llvm.compiler-rt-builtins@22.1.8.6

用法

來自本倉庫自己的測試專案 —— CI 真的編譯並執行過,不是為了網站寫的。

// The member builds on every runner; the package it names is for the ok-image rows.
import std;

int main() {
    // 128-bit division, which the builtins supply on the rows this package serves.
    const unsigned __int128 n = (static_cast<unsigned __int128>(1) << 100) + 7;
    const unsigned __int128 q = n / 3;
    std::println("compiler-rt-builtins-tests: {}", static_cast<unsigned long long>(q % 1000003));
    return q * 3 + (n % 3) == n ? 0 : 1;
}

tests/examples/compiler-rt-builtins/tests/resolves.cpp · 專案 tests/examples/compiler-rt-builtins

建置 · 上游資訊清單

targets
compiler-rt-builtins (lib)
manifest version
22.1.8.6
來源
https://raw.githubusercontent.com/mcpplibs/compiler-rt-builtins/22.1.8.6/mcpp.toml

版本

版本平台 鏡像sha256
22.1.8.6 最新 LinuxWindowsmacOS GLOBAL CN 14f246381c86…
22.1.8.5 LinuxWindowsmacOS GLOBAL CN 8ad901f7484e…
22.1.8.4 LinuxWindowsmacOS GLOBAL CN 432d3bc7f0c4…
22.1.8.3 LinuxWindowsmacOS GLOBAL CN 79d1d9703f04…
22.1.8.2 LinuxWindowsmacOS GLOBAL CN c6070e0b878a…