especially if you go off-chip (i.e. shared memory), the memory ordering is relaxed. Reads following writes to off-core destinations happen in a non-deterministic order. (I don't know if this applies for on-core transactions through a global address, though.)
Your assembly code does not match your source code (incomplete), the build instructions and the used linker script are missing. Since you muck around with the startup code, I simply assume that ".data" and/or ".bss" are not allocated within local memory, and the behaviour you see is permitted by the Epiphany.Statistics: Posted by sebraa — Thu Jan 19, 2017 7:31 pm
]]>