examples: adapt to new const types

This commit is contained in:
Michael McLoughlin
2018-12-26 17:08:58 -08:00
parent abd300c0e9
commit 662ae52758
8 changed files with 1274 additions and 1272 deletions

View File

@@ -59,17 +59,17 @@ func main() {
XORL(W(r-8), u)
XORL(W(r-14), u)
XORL(W(r-16), u)
ROLL(Imm(1), u)
ROLL(U8(1), u)
}
MOVL(u, W(r))
// Compute the next state register.
t := GP32v()
MOVL(a, t)
ROLL(Imm(5), t)
ROLL(U8(5), t)
ADDL(q.F(b, c, d), t)
ADDL(e, t)
ADDL(Imm(q.K), t)
ADDL(U32(q.K), t)
ADDL(u, t)
// Update registers.