AMD fell behind Intel in the CPU race, but then, starting in 2012 when Lisa Su came to the company, they slowly built themselves back to a strong position. Now, having switched from GlobalFoundries to TSMC and moved from Bulldozer to Zen, they are doing great.