Advanced Micro Devices stock (NASDAQ: AMD) has gained about 50% year-to-date, considerably outperforming the broader S&P 500.