Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mattsu2020
Copy link
Contributor

@mattsu2020 mattsu2020 commented Nov 4, 2025

Fixes #9725

Overview

Disable SIMD-accelerated paths when GLIBC_TUNABLES removes AVX/AVX512 so wc falls back to the naive counters.
Add hidden --debug flag output that reports whether hardware acceleration is active, disabled by tunables, or unavailable at runtime.
Cache SIMD policy decisions and reuse them within the fast path code to avoid repeated environment parsing.

Testing

cargo test -p uu_wc
cargo clippy -p uu_wc -- -D warnings
Spot-check wc -l with and without GLIBC_TUNABLES='glibc.cpu.hwcaps=-AVX2,-AVX512F'

@mattsu2020 mattsu2020 changed the title fix(wc):GNUwc-cpu.sh fix(wc):GNU wc-cpu.sh Nov 4, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Nov 4, 2025

CodSpeed Performance Report

Merging #9144 will not alter performance

Comparing mattsu2020:wc_compatibility (62673fc) with main (b9b9655)

Summary

✅ 127 untouched
⏩ 6 skipped1

Footnotes

  1. 6 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@github-actions
Copy link

github-actions bot commented Nov 4, 2025

GNU testsuite comparison:

Congrats! The gnu test tests/wc/wc-cpu is no longer failing!

naoNao89 added a commit to naoNao89/coreutils that referenced this pull request Nov 14, 2025
Add shared CPU hardware capability detection in uucore to prevent
code duplication across utilities. This provides a unified interface
for detecting CPU features (AVX512, AVX2, PCLMUL, SSE2, ASIMD) and
respecting GLIBC_TUNABLES environment variable.

This unblocks PR uutils#9088 (cksum --debug) and PR uutils#9144 (wc --debug) by
providing a common implementation that both utilities can use.

Features:
- CPU feature detection with caching (singleton pattern)
- GLIBC_TUNABLES parsing for hwcaps restrictions
- Cross-platform support (x86/x86_64, aarch64)
- Comprehensive test coverage
- Zero-cost abstractions using std::arch

Implementation details:
- Uses std::arch feature detection (no external deps for detection)
- Adds cfg-if dependency for conditional compilation
- Feature-gated behind "hardware" feature flag
- Android excluded (no CPUID access in sandboxed environment)

Related: uutils#9088, uutils#9144

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
naoNao89 added a commit to naoNao89/coreutils that referenced this pull request Nov 14, 2025
Add shared CPU hardware capability detection in uucore to prevent
code duplication across utilities. This provides a unified interface
for detecting CPU features (AVX512, AVX2, PCLMUL, SSE2, ASIMD) and
respecting GLIBC_TUNABLES environment variable.

This unblocks PR uutils#9088 (cksum --debug) and PR uutils#9144 (wc --debug) by
providing a common implementation that both utilities can use.

Features:
- CPU feature detection with caching (singleton pattern)
- GLIBC_TUNABLES parsing for hwcaps restrictions
- Cross-platform support (x86/x86_64, aarch64)
- Comprehensive test coverage
- Zero-cost abstractions using std::arch

Implementation details:
- Uses std::arch feature detection (no external deps for detection)
- Adds cfg-if dependency for conditional compilation
- Feature-gated behind "hardware" feature flag
- Android excluded (no CPUID access in sandboxed environment)

Related: uutils#9088, uutils#9144
naoNao89 added a commit to naoNao89/coreutils that referenced this pull request Nov 14, 2025
Add shared CPU hardware capability detection in uucore to prevent
code duplication across utilities. This provides a unified interface
for detecting CPU features (AVX512, AVX2, PCLMUL, SSE2, ASIMD) and
respecting GLIBC_TUNABLES environment variable.

This unblocks PR uutils#9088 (cksum --debug) and PR uutils#9144 (wc --debug) by
providing a common implementation that both utilities can use.

Features:
- CPU feature detection with caching (singleton pattern)
- GLIBC_TUNABLES parsing for hwcaps restrictions
- Cross-platform support (x86/x86_64, aarch64)
- Comprehensive test coverage
- Zero-cost abstractions using std::arch

Implementation details:
- Uses std::arch feature detection (no external deps for detection)
- Adds cfg-if dependency for conditional compilation
- Feature-gated behind "hardware" feature flag
- Android excluded (no CPUID access in sandboxed environment)

Related: uutils#9088, uutils#9144
naoNao89 added a commit to naoNao89/coreutils that referenced this pull request Nov 14, 2025
Add shared CPU hardware capability detection in uucore to prevent
code duplication across utilities. This provides a unified interface
for detecting CPU features (AVX512, AVX2, PCLMUL, SSE2, ASIMD) and
respecting GLIBC_TUNABLES environment variable.

This unblocks PR uutils#9088 (cksum --debug) and PR uutils#9144 (wc --debug) by
providing a common implementation that both utilities can use.

Features:
- CPU feature detection with caching (singleton pattern)
- GLIBC_TUNABLES parsing for hwcaps restrictions
- Cross-platform support (x86/x86_64, aarch64)
- Comprehensive test coverage
- Zero-cost abstractions using std::arch

Implementation details:
- Uses std::arch feature detection (no external deps for detection)
- Adds cfg-if dependency for conditional compilation
- Feature-gated behind "hardware" feature flag
- Android excluded (no CPUID access in sandboxed environment)

Related: uutils#9088, uutils#9144
naoNao89 added a commit to naoNao89/coreutils that referenced this pull request Nov 15, 2025
Add shared CPU hardware capability detection in uucore to prevent
code duplication across utilities. This provides a unified interface
for detecting CPU features (AVX512, AVX2, PCLMUL, SSE2, ASIMD) and
respecting GLIBC_TUNABLES environment variable.

This unblocks PR uutils#9088 (cksum --debug) and PR uutils#9144 (wc --debug) by
providing a common implementation that both utilities can use.

Features:
- CPU feature detection with caching (singleton pattern)
- GLIBC_TUNABLES parsing for hwcaps restrictions
- Cross-platform support (x86/x86_64, aarch64)
- Comprehensive test coverage
- Zero-cost abstractions using std::arch

Implementation details:
- Uses std::arch feature detection (no external deps for detection)
- Adds cfg-if dependency for conditional compilation
- Feature-gated behind "hardware" feature flag
- Android excluded (no CPUID access in sandboxed environment)

Related: uutils#9088, uutils#9144
naoNao89 added a commit to naoNao89/coreutils that referenced this pull request Nov 15, 2025
Add shared CPU hardware capability detection in uucore to prevent
code duplication across utilities. This provides a unified interface
for detecting CPU features (AVX512, AVX2, PCLMUL, SSE2, ASIMD) and
respecting GLIBC_TUNABLES environment variable.

This unblocks PR uutils#9088 (cksum --debug) and PR uutils#9144 (wc --debug) by
providing a common implementation that both utilities can use.

Features:
- CPU feature detection with caching (singleton pattern)
- GLIBC_TUNABLES parsing for hwcaps restrictions
- Cross-platform support (x86/x86_64, aarch64)
- Comprehensive test coverage
- Zero-cost abstractions using std::arch

Implementation details:
- Uses std::arch feature detection (no external deps for detection)
- Adds cfg-if dependency for conditional compilation
- Feature-gated behind "hardware" feature flag
- Android excluded (no CPUID access in sandboxed environment)

Related: uutils#9088, uutils#9144
RenjiSann pushed a commit to naoNao89/coreutils that referenced this pull request Nov 24, 2025
Add shared CPU hardware capability detection in uucore to prevent
code duplication across utilities. This provides a unified interface
for detecting CPU features (AVX512, AVX2, PCLMUL, SSE2, ASIMD) and
respecting GLIBC_TUNABLES environment variable.

This unblocks PR uutils#9088 (cksum --debug) and PR uutils#9144 (wc --debug) by
providing a common implementation that both utilities can use.

Features:
- CPU feature detection with caching (singleton pattern)
- GLIBC_TUNABLES parsing for hwcaps restrictions
- Cross-platform support (x86/x86_64, aarch64)
- Comprehensive test coverage
- Zero-cost abstractions using std::arch

Implementation details:
- Uses std::arch feature detection (no external deps for detection)
- Adds cfg-if dependency for conditional compilation
- Feature-gated behind "hardware" feature flag
- Android excluded (no CPUID access in sandboxed environment)

Related: uutils#9088, uutils#9144
RenjiSann pushed a commit that referenced this pull request Nov 24, 2025
Add shared CPU hardware capability detection in uucore to prevent
code duplication across utilities. This provides a unified interface
for detecting CPU features (AVX512, AVX2, PCLMUL, SSE2, ASIMD) and
respecting GLIBC_TUNABLES environment variable.

This unblocks PR #9088 (cksum --debug) and PR #9144 (wc --debug) by
providing a common implementation that both utilities can use.

Features:
- CPU feature detection with caching (singleton pattern)
- GLIBC_TUNABLES parsing for hwcaps restrictions
- Cross-platform support (x86/x86_64, aarch64)
- Comprehensive test coverage
- Zero-cost abstractions using std::arch

Implementation details:
- Uses std::arch feature detection (no external deps for detection)
- Adds cfg-if dependency for conditional compilation
- Feature-gated behind "hardware" feature flag
- Android excluded (no CPUID access in sandboxed environment)

Related: #9088, #9144
@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/misc/tee (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/tail/overlay-headers (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/wc/wc-cpu is no longer failing!

@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/tail/overlay-headers (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/wc/wc-cpu is no longer failing!

naoNao89 added a commit to naoNao89/coreutils that referenced this pull request Nov 24, 2025
Add shared CPU hardware capability detection in uucore to prevent
code duplication across utilities. This provides a unified interface
for detecting CPU features (AVX512, AVX2, PCLMUL, SSE2, ASIMD) and
respecting GLIBC_TUNABLES environment variable.

This unblocks PR uutils#9088 (cksum --debug) and PR uutils#9144 (wc --debug) by
providing a common implementation that both utilities can use.

Features:
- CPU feature detection with caching (singleton pattern)
- GLIBC_TUNABLES parsing for hwcaps restrictions
- Cross-platform support (x86/x86_64, aarch64)
- Comprehensive test coverage
- Zero-cost abstractions using std::arch

Implementation details:
- Uses std::arch feature detection (no external deps for detection)
- Adds cfg-if dependency for conditional compilation
- Feature-gated behind "hardware" feature flag
- Android excluded (no CPUID access in sandboxed environment)

Related: uutils#9088, uutils#9144
@RenjiSann
Copy link
Collaborator

Can you add a test to avoid regressions in the future ?

@github-actions
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/wc/wc-cpu is no longer failing!

@sylvestre
Copy link
Contributor

job fails with:
ERROR taplo:format_files: the file is not properly formatted path="/home/runner/work/coreutils/coreutils/src/uu/wc/Cargo.toml"

@github-actions
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/wc/wc-cpu is no longer failing!

RenjiSann pushed a commit to RenjiSann/coreutils that referenced this pull request Nov 28, 2025
Add shared CPU hardware capability detection in uucore to prevent
code duplication across utilities. This provides a unified interface
for detecting CPU features (AVX512, AVX2, PCLMUL, SSE2, ASIMD) and
respecting GLIBC_TUNABLES environment variable.

This unblocks PR uutils#9088 (cksum --debug) and PR uutils#9144 (wc --debug) by
providing a common implementation that both utilities can use.

Features:
- CPU feature detection with caching (singleton pattern)
- GLIBC_TUNABLES parsing for hwcaps restrictions
- Cross-platform support (x86/x86_64, aarch64)
- Comprehensive test coverage
- Zero-cost abstractions using std::arch

Implementation details:
- Uses std::arch feature detection (no external deps for detection)
- Adds cfg-if dependency for conditional compilation
- Feature-gated behind "hardware" feature flag
- Android excluded (no CPUID access in sandboxed environment)

Related: uutils#9088, uutils#9144
martinkunkel2 pushed a commit to martinkunkel2/coreutils that referenced this pull request Nov 30, 2025
Add shared CPU hardware capability detection in uucore to prevent
code duplication across utilities. This provides a unified interface
for detecting CPU features (AVX512, AVX2, PCLMUL, SSE2, ASIMD) and
respecting GLIBC_TUNABLES environment variable.

This unblocks PR uutils#9088 (cksum --debug) and PR uutils#9144 (wc --debug) by
providing a common implementation that both utilities can use.

Features:
- CPU feature detection with caching (singleton pattern)
- GLIBC_TUNABLES parsing for hwcaps restrictions
- Cross-platform support (x86/x86_64, aarch64)
- Comprehensive test coverage
- Zero-cost abstractions using std::arch

Implementation details:
- Uses std::arch feature detection (no external deps for detection)
- Adds cfg-if dependency for conditional compilation
- Feature-gated behind "hardware" feature flag
- Android excluded (no CPUID access in sandboxed environment)

Related: uutils#9088, uutils#9144
martinkunkel2 pushed a commit to martinkunkel2/coreutils that referenced this pull request Nov 30, 2025
Add shared CPU hardware capability detection in uucore to prevent
code duplication across utilities. This provides a unified interface
for detecting CPU features (AVX512, AVX2, PCLMUL, SSE2, ASIMD) and
respecting GLIBC_TUNABLES environment variable.

This unblocks PR uutils#9088 (cksum --debug) and PR uutils#9144 (wc --debug) by
providing a common implementation that both utilities can use.

Features:
- CPU feature detection with caching (singleton pattern)
- GLIBC_TUNABLES parsing for hwcaps restrictions
- Cross-platform support (x86/x86_64, aarch64)
- Comprehensive test coverage
- Zero-cost abstractions using std::arch

Implementation details:
- Uses std::arch feature detection (no external deps for detection)
- Adds cfg-if dependency for conditional compilation
- Feature-gated behind "hardware" feature flag
- Android excluded (no CPUID access in sandboxed environment)

Related: uutils#9088, uutils#9144
@github-actions
Copy link

github-actions bot commented Dec 1, 2025

GNU testsuite comparison:

Skip an intermittent issue tests/tail/overlay-headers (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/wc/wc-cpu is no longer failing!

if policy.allows_simd() {
let enabled = policy.enabled_features();
if enabled.is_empty() {
eprintln!("wc: debug: hardware support unavailable on this CPU");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use the translate! macro

@github-actions
Copy link

github-actions bot commented Dec 1, 2025

GNU testsuite comparison:

Skip an intermittent issue tests/misc/tee (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/wc/wc-cpu is no longer failing!

romanstingler pushed a commit to romanstingler/coreutils that referenced this pull request Dec 14, 2025
Add shared CPU hardware capability detection in uucore to prevent
code duplication across utilities. This provides a unified interface
for detecting CPU features (AVX512, AVX2, PCLMUL, SSE2, ASIMD) and
respecting GLIBC_TUNABLES environment variable.

This unblocks PR uutils#9088 (cksum --debug) and PR uutils#9144 (wc --debug) by
providing a common implementation that both utilities can use.

Features:
- CPU feature detection with caching (singleton pattern)
- GLIBC_TUNABLES parsing for hwcaps restrictions
- Cross-platform support (x86/x86_64, aarch64)
- Comprehensive test coverage
- Zero-cost abstractions using std::arch

Implementation details:
- Uses std::arch feature detection (no external deps for detection)
- Adds cfg-if dependency for conditional compilation
- Feature-gated behind "hardware" feature flag
- Android excluded (no CPUID access in sandboxed environment)

Related: uutils#9088, uutils#9144
@asder8215
Copy link
Contributor

This looks good to me so far

@RenjiSann
Copy link
Collaborator

RenjiSann commented Dec 20, 2025

The hardware API in uucore changed, so there is no simd_policy function anymore.
There is some refactoring to do in this PR

Also, could you squash the different commits in a single one for better traceability once merged ? Thanks !

- use SimdPolicy::detect with hardware feature labeling
- keep SIMD behavior respecting GLIBC_TUNABLES
- consolidate wc SIMD debug output and tests
mattsu2020 and others added 2 commits December 20, 2025 21:38
- Changed multi-line SIMD feature vector creation to a single-line expression for improved readability and consistency with surrounding code.
- No functional changes; only stylistic refactoring in the wc debug logic.
@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/wc/wc-cpu is no longer failing!

@RenjiSann
Copy link
Collaborator

$ ../gnu/src/wc -l --debug /dev/null          
wc: avx512 support not detected
wc: using avx2 hardware support
0 /dev/null

$ GLIBC_TUNABLES='glibc.cpu.hwcaps=-AVX512F,-AVX2' ../gnu/src/wc -l --debug /dev/null
wc: avx512 support not detected
wc: avx2 support not detected
0 /dev/null

$ GLIBC_TUNABLES='glibc.cpu.hwcaps=-AVX512F' ../gnu/src/wc -l --debug /dev/null    
wc: avx512 support not detected
wc: using avx2 hardware support
0 /dev/null

$ GLIBC_TUNABLES='glibc.cpu.hwcaps=-AVX512F' ./target/debug/wc -l --debug /dev/null      
wc: debug: hardware support disabled by GLIBC_TUNABLES (AVX512F)
0 /dev/null

When we only disable AVX512, this is misleading because we don't mention that AVX2 is still usable

Add new localization strings and logic to provide detailed debug information when SIMD support is limited by GLIBC_TUNABLES, including lists of disabled and enabled features. Refactor SIMD allowance check for better accuracy in detecting runtime support.
@github-actions
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/wc/wc-cpu is no longer failing!

}
}

fn is_wc_simd_runtime_feature(feature: &HardwareFeature) -> bool {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ould be shortened to is_runtime_feature since it's in wc context

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix

)
}

fn is_wc_simd_debug_feature(feature: &HardwareFeature) -> bool {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix

)
}

fn wc_simd_enabled_features(policy: &SimdPolicy) -> Vec<HardwareFeature> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider combining wc_simd_enabled_features and wc_simd_disabled_features into a single function that returns both to avoid duplicate iteration

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix


let runtime_disabled = !disabled_runtime_features.is_empty();

match (enabled.is_empty(), runtime_disabled, disabled.is_empty()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pattern matching on tuple with 3 bool elements is hard to read :/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix

.collect()
}

pub(crate) fn wc_simd_allowed(policy: &SimdPolicy) -> bool {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we cache this ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since it's already cached elsewhere, it's a tough call whether to cache it here.

Refactor SIMD feature detection and reporting in the wc utility by introducing a WcSimdFeatures struct to group enabled, disabled, and runtime-disabled features. This replaces multiple separate functions with a single function, improving code organization and efficiency by reducing redundant iterations over feature lists. Also rename helper functions for clarity and update debug output logic accordingly.
@github-actions
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/wc/wc-cpu is no longer failing!

Comment on lines +918 to +931
if enabled_empty && !runtime_disabled {
eprintln!("{}", translate!("wc-debug-hw-unavailable"));
} else if runtime_disabled {
eprintln!(
"{}",
translate!("wc-debug-hw-disabled-glibc", "features" => disabled.join(", "))
);
} else if !enabled_empty && disabled_empty {
eprintln!(
"{}",
translate!("wc-debug-hw-using", "features" => enabled.join(", "))
);
} else {
eprintln!(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if enabled_empty && !runtime_disabled {
eprintln!("{}", translate!("wc-debug-hw-unavailable"));
} else if runtime_disabled {
eprintln!(
"{}",
translate!("wc-debug-hw-disabled-glibc", "features" => disabled.join(", "))
);
} else if !enabled_empty && disabled_empty {
eprintln!(
"{}",
translate!("wc-debug-hw-using", "features" => enabled.join(", "))
);
} else {
eprintln!(
if enabled_empty && !runtime_disabled {
show_error!("{}", translate!("wc-debug-hw-unavailable"));
} else if runtime_disabled {
show_error!(
"{}",
translate!("wc-debug-hw-disabled-glibc", "features" => disabled.join(", "))
);
} else if !enabled_empty && disabled_empty {
show_error!(
"{}",
translate!("wc-debug-hw-using", "features" => enabled.join(", "))
);
} else {
show_error!(

The show_error! macro is specifically made to prepend <bin-name>: to the message

Comment on lines +36 to +40
wc-debug-hw-unavailable = wc: debug: hardware support unavailable on this CPU
wc-debug-hw-using = wc: debug: using hardware support (features: { $features })
wc-debug-hw-disabled-env = wc: debug: hardware support disabled by environment
wc-debug-hw-disabled-glibc = wc: debug: hardware support disabled by GLIBC_TUNABLES ({ $features })
wc-debug-hw-limited-glibc = wc: debug: hardware support limited by GLIBC_TUNABLES (disabled: { $disabled }; enabled: { $enabled })
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
wc-debug-hw-unavailable = wc: debug: hardware support unavailable on this CPU
wc-debug-hw-using = wc: debug: using hardware support (features: { $features })
wc-debug-hw-disabled-env = wc: debug: hardware support disabled by environment
wc-debug-hw-disabled-glibc = wc: debug: hardware support disabled by GLIBC_TUNABLES ({ $features })
wc-debug-hw-limited-glibc = wc: debug: hardware support limited by GLIBC_TUNABLES (disabled: { $disabled }; enabled: { $enabled })
wc-debug-hw-unavailable = debug: hardware support unavailable on this CPU
wc-debug-hw-using = debug: using hardware support (features: { $features })
wc-debug-hw-disabled-env = debug: hardware support disabled by environment
wc-debug-hw-disabled-glibc = debug: hardware support disabled by GLIBC_TUNABLES ({ $features })
wc-debug-hw-limited-glibc = debug: hardware support limited by GLIBC_TUNABLES (disabled: { $disabled }; enabled: { $enabled })

Comment on lines +36 to +40
wc-debug-hw-unavailable = wc : debug : prise en charge matérielle indisponible sur ce CPU
wc-debug-hw-using = wc : debug : utilisation de l'accélération matérielle (fonctions : { $features })
wc-debug-hw-disabled-env = wc : debug : prise en charge matérielle désactivée par l'environnement
wc-debug-hw-disabled-glibc = wc : debug : prise en charge matérielle désactivée par GLIBC_TUNABLES ({ $features })
wc-debug-hw-limited-glibc = wc : debug : prise en charge matérielle limitée par GLIBC_TUNABLES (désactivé : { $disabled } ; activé : { $enabled })
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
wc-debug-hw-unavailable = wc : debug : prise en charge matérielle indisponible sur ce CPU
wc-debug-hw-using = wc : debug : utilisation de l'accélération matérielle (fonctions : { $features })
wc-debug-hw-disabled-env = wc : debug : prise en charge matérielle désactivée par l'environnement
wc-debug-hw-disabled-glibc = wc : debug : prise en charge matérielle désactivée par GLIBC_TUNABLES ({ $features })
wc-debug-hw-limited-glibc = wc : debug : prise en charge matérielle limitée par GLIBC_TUNABLES (désactivé : { $disabled } ; activé : { $enabled })
wc-debug-hw-unavailable = debug : prise en charge matérielle indisponible sur ce CPU
wc-debug-hw-using = debug : utilisation de l'accélération matérielle (fonctions : { $features })
wc-debug-hw-disabled-env = debug : prise en charge matérielle désactivée par l'environnement
wc-debug-hw-disabled-glibc = debug : prise en charge matérielle désactivée par GLIBC_TUNABLES ({ $features })
wc-debug-hw-limited-glibc = debug : prise en charge matérielle limitée par GLIBC_TUNABLES (désactivé : { $disabled } ; activé : { $enabled })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

wc: implement --debug flag

4 participants