https://issues.dlang.org/show_bug.cgi?id=24254

--- Comment #11 from Dlang Bot <dlang-bot@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

--

Reply via email to