Make AMD-compatible