[Issue 24254] LDC crash on Epyc Bergamo

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 26 10:52:34 UTC 2023


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

--- Comment #13 from Dlang Bot <dlang-bot at dlang.rocks> ---
@dkorpel created dlang/dmd pull request #15865 "Merge stable into master"
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/15865

--


More information about the Digitalmars-d-bugs mailing list