Skip to content

Commit

Permalink
Document additional assumption in Epiphany Ethread
Browse files Browse the repository at this point in the history
  • Loading branch information
margnus1 committed Jan 11, 2016
1 parent dd86f8f commit 5fcce17
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion erts/include/internal/epiphany/ethread.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ ethr_native_atomic32_read(ethr_native_atomic32_t *var)
* provide that.
*
* We assume that all accesses that all accesses that take the same route
* through the same mesh network (of which there are three; one for on-code
* through the same mesh network (of which there are three; one for on-core
* loads, one for on-core stores, and one for off core accesses) are strictly
* ordered. In other words, we assume that memory accesses cannot "overtake"
* each other on the same mesh network, and that any endpoint applies memory
Expand All @@ -110,6 +110,9 @@ ethr_native_atomic32_read(ethr_native_atomic32_t *var)
* sane presuming the architecture is strictly in-order and does not speculate
* loads or stores.
*
* We also assume a load of a previously written value will not return that
* value until it is visible to all other cores.
*
* Lastly, we assume all available off-core memory is on the east bus (which is
* the case on the currently available Parallella boards).
*
Expand Down

0 comments on commit 5fcce17

Please sign in to comment.