summaryrefslogtreecommitdiff
path: root/reference/fragProg1/fragProg1-24.asm
blob: 5b6302bcf3781132611bb73c2604416478cea46a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
; options:
; FRAG: new compiler
@out(r1.x)	out0
@out(r1.y)	out1
@out(r1.z)	out2
@out(r1.w)	out3
(sy)(ss)mov.f32f32 r0.x, c0.w
mov.f32f32 r0.y, c0.z
mov.f32f32 r0.z, c0.y
mov.f32f32 r0.w, c0.x
(rpt2)nop
log2 r0.x, r0.x
(ss)mul.f r1.w, r0.x, c1.x
(ss)log2 r0.x, r0.y
(ss)mul.f r1.z, r0.x, c1.x
log2 r0.x, r0.z
(ss)mul.f r1.y, r0.x, c1.x
log2 r0.x, r0.w
(ss)mul.f r1.x, r0.x, c1.x
end
nop
nop
; FRAG: outputs: r1.x (1:0)
; FRAG: inputs:
; FRAG: 16 instructions, 0 half, 2 full