MCPcopy Create free account
hub / github.com/SimHacker/micropolis / n_anneal4

Method n_anneal4

MicropolisCore/src/CellEngine/src/cellengine.cpp:1936–1951  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1934
1935
1936void CellEngine::n_anneal4()
1937{
1938 long sum0 = 0;
1939 long sum1 = 0;
1940 long sum2 = 0;
1941 long sum3 = 0;
1942
1943#define ANNEAL4 ( \
1944 ((((sum0 = (SUM9REG(1) >> 0)) > 5) || (sum0 == 4)) ? 1 : 0) | \
1945 ((((sum1 = (SUM9REG(2) >> 1)) > 5) || (sum1 == 4)) ? 2 : 0) | \
1946 ((((sum2 = (SUM9REG(4) >> 2)) > 5) || (sum2 == 4)) ? 4 : 0) | \
1947 ((((sum3 = (SUM9REG(8) >> 3)) > 5) || (sum3 == 4)) ? 8 : 0) | \
1948 ((c & 0x0f) << 4))
1949
1950 CAM_MASKED_REG_LOOP(ANNEAL4)
1951}
1952
1953
1954void CellEngine::n_anneal8()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected