summaryrefslogtreecommitdiff
path: root/reference/test.asm
diff options
context:
space:
mode:
Diffstat (limited to 'reference/test.asm')
-rw-r--r--reference/test.asm28
1 files changed, 11 insertions, 17 deletions
diff --git a/reference/test.asm b/reference/test.asm
index bb0a0f9..9242510 100644
--- a/reference/test.asm
+++ b/reference/test.asm
@@ -7,31 +7,25 @@
@out(r1.y) out1
@out(r1.z) out2
@out(r1.w) out3
+@const(c0.x) 0x3f000000, 0x00000000, 0x00000000, 0x00000000
+@const(c1.x) 0x3f800000, 0x00000000, 0x00000000, 0x00000000
(sy)(ss)mul.s r0.z, hr0.x, 2
-bary.f r0.w, 2, r0.x
-bary.f r1.x, 1, r0.x
-bary.f (ei)r0.x, 3, r0.x
-add.s r0.y, r0.z, 1
-mov.f32f32 r1.z, r0.w
-mov.f32f32 r1.y, r1.x
-nop
-cov.s32f32 r0.y, r0.y
-mov.f32f32 r1.w, r0.x
-(rpt1)nop
-mov.f32f32 r0.x, r0.y
+bary.f r1.z, 2, r0.x
+bary.f r1.y, 1, r0.x
+bary.f (ei)r1.w, 3, r0.x
+add.s r0.x, r0.z, 1
+(rpt2)nop
+cov.s32f32 r0.x, r0.x
(rpt2)nop
max.f r0.x, r0.x, c0.y
(rpt2)nop
min.f r0.x, r0.x, c1.x
(rpt2)nop
-mul.f r0.x, c0.x, r0.x
-(rpt2)nop
-mov.f32f32 r1.x, r0.x
+mul.f r1.x, c0.x, r0.x
end
nop
nop
-nop
; FRAG: outputs: r1.x (1:0)
-; FRAG: inputs: r63.y (7:0,cm=f,il=8,b=0) r63.y (1:0,cm=f,il=8,b=1)
-; FRAG: 30 instructions, 1 half, 2 full
+; FRAG: inputs: r63.y (7:0,cm=f,il=8,b=0) r1.x (1:0,cm=f,il=8,b=1)
+; FRAG: 22 instructions, 1 half, 2 full