[Issue 24254] LDC crash on Epyc Bergamo
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Nov 23 22:19:53 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=24254
--- Comment #9 from Dlang Bot <dlang-bot at dlang.rocks> ---
@kinke created dlang/dmd pull request #15859 "core.cpuid: Fix div-by-zero on
AMD CPUs with 256 (physical?) cores" mentioning this issue:
- 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