Sunnyvale, California-based Advanced Micro Devices Inc got board approval to buy in up to 5m shares.