AMD was fighting Intel for its life. After a number of flops, it only got a big breakthrough on the CPU-side with Zen just over half a decade ago - which is not that far back. Hopefully they now have a bit of money saved up in their war chest to help the GPU division.