| 4109 | |
| 4110 | |
| 4111 | void CellEngine::n_spinsonly() |
| 4112 | { |
| 4113 | |
| 4114 | #define SPINSONLY ( \ |
| 4115 | ((((xx + x) ^ (yy + y) ^ phase) & 1) /* spatio-temporal phase */ \ |
| 4116 | ? c /* stay the same if true */ \ |
| 4117 | : (((SUM4REG(1) != 2) /* can we not flip? */ \ |
| 4118 | ? (c & 1) /* no flip */ \ |
| 4119 | : ((c ^ 1) & 1) /* do flip */ \ |
| 4120 | ) \ |
| 4121 | ) \ |
| 4122 | ) \ |
| 4123 | ) |
| 4124 | |
| 4125 | CAM_MASKED_REG_LOOP(SPINSONLY) |
| 4126 | } |
| 4127 | |
| 4128 | |
| 4129 | void CellEngine::n_spinsbank() |
nothing calls this directly
no outgoing calls
no test coverage detected