With Zen3 or Ryzen 5xxx desktop cpus up to 8 cores can access the full 32mb of cache. This differs from Zen 2 which only 4 cores accessed 16.
So with the 5900 each has its own 32mb. So 8 cores access 32 an 4 cores access 32 for a total combined cache of 64.