Skip to content

Instantly share code, notes, and snippets.

@ssvb
Created March 21, 2016 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssvb/2c9995b43c97c5ec066a to your computer and use it in GitHub Desktop.
Save ssvb/2c9995b43c97c5ec066a to your computer and use it in GitHub Desktop.
Maybe a test for Cortex-A7 erratum 823274: Load or store which fails condition code check might cause deadlock or data corruption ? To be run together with sun4i-ss
int main()
{
volatile double a = 1.0;
volatile double b = 1.0;
for (;;) {
a /= b;
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment