tests/alloc/gp8: allocator test using all 8-bit registers (#102)

Updates #43
This commit is contained in:
Michael McLoughlin
2019-12-20 15:31:35 -08:00
committed by GitHub
parent 15d6a9a17e
commit cfc6ecac41
5 changed files with 107 additions and 0 deletions

6
tests/alloc/gp8/stub.go Normal file
View File

@@ -0,0 +1,6 @@
// Code generated by command: go run asm.go -out gp8.s -stubs stub.go. DO NOT EDIT.
package gp8
// GP8 returns the sum 1+2+...+19 using 19 distinct 8-bit registers.
func GP8() uint8