summaryrefslogtreecommitdiff
path: root/reference/simpletest.asm
diff options
context:
space:
mode:
Diffstat (limited to 'reference/simpletest.asm')
-rw-r--r--reference/simpletest.asm17
1 files changed, 7 insertions, 10 deletions
diff --git a/reference/simpletest.asm b/reference/simpletest.asm
index b755903..819ed60 100644
--- a/reference/simpletest.asm
+++ b/reference/simpletest.asm
@@ -6,19 +6,16 @@
@out(r1.y) out1
@out(r1.z) out2
@out(r1.w) out3
+@const(c0.x) 0x00000000, 0x00000000, 0x00000000, 0x00000000
(sy)(ss)bary.f r0.z, 0, r0.x
-bary.f (ei)r0.x, 1, r0.x
-(rpt1)nop
-mov.f32f32 r0.y, r0.z
-mov.f32f32 r0.z, r0.x
+bary.f (ei)r0.w, 1, r0.x
(rpt5)nop
-sam (f32)(xyzw)r0.x, r0.y, s#0, t#0
-(sy)mov.f32f32 r1.w, r0.w
-mov.f32f32 r1.z, r0.w
-mov.f32f32 r1.y, r0.w
-mov.f32f32 r1.x, r0.w
+sam (f32)(xyzw)r0.y, r0.z, s#0, t#0
+(sy)mov.f32f32 r1.w, r1.x
+mov.f32f32 r1.z, r1.x
+mov.f32f32 r1.y, r1.x
end
; FRAG: outputs: r1.x (1:0)
; FRAG: inputs: r0.x (5:0,cm=f,il=8,b=1)
-; FRAG: 18 instructions, 0 half, 2 full
+; FRAG: 13 instructions, 0 half, 2 full