AMD says they are releasing microcode updates for their previous
generation CPU's (Opteron, FX, etc) next week.
So much better than intel throwing older CPU owners to the wolves.
In terms of what CPU to get - I would get either an AMD G34/C32 Opteron
(pre-PSP) with a compatible libre firmware board (KGPE-D16 or KCMA-D8)
or if you can afford it a POWER9 system as IBM quickly released updates
for POWER to solve this issue and if they ever stopped due to
considering your system "too old" POWER9 is owner controlled and
documented so the community could theoretically patch its own microcode.
You can make a C32 libre firmware gaming system for around 500-700, so
that is quite affordable.