[Issue 24254] LDC crash on Epyc Bergamo
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Nov 24 15:08:17 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=24254
--- Comment #11 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #15859 "[stable] core.cpuid: Fix div-by-zero on AMD CPUs
with 256 (physical?) cores" was merged into stable:
- edfa13e57de7b8597df2a95475179288c98cb25e by Martin Kinkelin:
core.cpuid: Fix div-by-zero on AMD CPUs with 256 (physical?) cores
See:
https://en.wikipedia.org/wiki/CPUID#EAX=80000008h:_Virtual_and_Physical_address_Sizes
This *might* fix Issue 24254, although I'd expect the read value for
that CPU to be 127 (*physical* cores minus 1), not the problematic 255.
https://github.com/dlang/dmd/pull/15859
--
More information about the Digitalmars-d-bugs
mailing list