@@ -8,7 +8,7 @@ import (
|
||||
|
||||
func TestAllocatorSimple(t *testing.T) {
|
||||
c := reg.NewCollection()
|
||||
x, y := c.Xv(), c.Yv()
|
||||
x, y := c.XMM(), c.YMM()
|
||||
|
||||
a, err := NewAllocatorForKind(reg.KindVector)
|
||||
if err != nil {
|
||||
|
||||
@@ -16,8 +16,8 @@ func TestLivenessBasic(t *testing.T) {
|
||||
// Build: a = 1, b = 2, a = a+b
|
||||
ctx := build.NewContext()
|
||||
ctx.Function("add")
|
||||
a := ctx.GP64v()
|
||||
b := ctx.GP64v()
|
||||
a := ctx.GP64()
|
||||
b := ctx.GP64()
|
||||
ctx.MOVQ(operand.U64(1), a)
|
||||
ctx.MOVQ(operand.U64(2), b)
|
||||
ctx.ADDQ(a, b)
|
||||
|
||||
Reference in New Issue
Block a user