Created
March 21, 2016 20:02
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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