Revert "Better AMD support"

This reverts commit 086800a4c02baba8111187a7948b95514179723a.