removing the restrict qualifiers makes the program run on AMD CPU again