summaryrefslogtreecommitdiff
path: root/reference/maniadrive/maniadrive-06.asm
diff options
context:
space:
mode:
Diffstat (limited to 'reference/maniadrive/maniadrive-06.asm')
-rw-r--r--reference/maniadrive/maniadrive-06.asm37
1 files changed, 11 insertions, 26 deletions
diff --git a/reference/maniadrive/maniadrive-06.asm b/reference/maniadrive/maniadrive-06.asm
index 2e8a6fe..0251eb7 100644
--- a/reference/maniadrive/maniadrive-06.asm
+++ b/reference/maniadrive/maniadrive-06.asm
@@ -6,35 +6,20 @@
@out(r1.y) out1
@out(r1.z) out2
@out(r1.w) out3
-(sy)(ss)bary.f r0.z, 0, r0.x
-bary.f r0.w, 3, r0.x
-bary.f (ei)r0.x, 1, r0.x
-mov.f32f32 r0.y, c4.z
-mov.f32f32 r0.z, r0.z
-mov.f32f32 r0.w, r0.w
-mov.f32f32 r0.x, r0.x
-mov.f32f32 r1.z, r0.y
-mov.f32f32 r1.w, r0.z
-mov.f32f32 r2.y, r0.w
-mov.f32f32 r2.x, r0.x
-mov.f32f32 r0.x, c4.y
-mov.f32f32 r0.y, c4.x
-(rpt3)nop
-sam.p (f32)(w)r0.z, r1.w, s#0, t#0
-(sy)mul.f r0.z, r1.y, c4.w
-mov.f32f32 r1.y, r0.x
-mov.f32f32 r1.x, r0.y
-nop
-mov.f32f32 r0.x, r0.z
-(rpt2)nop
-mov.f32f32 r0.x, r0.x
+@const(c5.x) 0x00000000, 0x00000000, 0x00000000, 0x00000000
+(sy)(ss)bary.f r1.w, 0, r0.x
+bary.f r2.x, 1, r0.x
+bary.f (ei)r2.y, 3, r0.x
+mov.f32f32 r1.z, c4.z
+mov.f32f32 r1.y, c4.y
+mov.f32f32 r1.x, c4.x
(rpt2)nop
-(ss)mov.f32f32 r1.w, r0.x
+sam.p (f32)(w)r0.x, r1.w, s#0, t#0
+(sy)(ss)mul.f r1.w, r0.w, c4.w
end
nop
nop
-nop
; FRAG: outputs: r1.x (1:0)
-; FRAG: inputs: r0.x (5:0,cm=f,il=8,b=1)
-; FRAG: 32 instructions, 0 half, 3 full
+; FRAG: inputs: r1.z (5:0,cm=f,il=8,b=1)
+; FRAG: 12 instructions, 0 half, 3 full