Debian Codegraph @

tests/fixedbugs/issue89/asm.go

raw symbols SCIP
1 //go:build ignore
2
3 package main
4
5 import (
6 . "github.com/mmcloughlin/avo/build"
7 . "github.com/mmcloughlin/avo/operand"
8 )
9
10 func main() {
11 TEXT("Issue89", NOSPLIT, "func() uint64")
12 x := GP64()
13 MOVQ(U32(42), x)
14 for i := 0; i < 100; i++ {
15 zero := GP64()
16 XORQ(zero, zero)
17 ADDQ(zero, x)
18 }
19 Store(x, ReturnIndex(0))
20 RET()
21 Generate()
22 }