summaryrefslogtreecommitdiff
path: root/reference/face.asm
blob: 0e81ac5b827d1a461f7f2df87ee2374722e57497 (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
27
28
29
30
31
; options:
; FRAG: new compiler
@in(hr0.x)	in0
@out(r1.x)	out0
@out(r1.y)	out1
@out(r1.z)	out2
@out(r1.w)	out3
(sy)(ss)mul.s r0.x, hr0.x, 2
(rpt2)nop
add.s r0.x, r0.x, 1
(rpt2)nop
cov.s32f32 r0.x, r0.x
(rpt2)nop
mov.f32f32 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.w, r0.x
mov.f32f32 r1.z, r0.x
mov.f32f32 r1.y, r0.x
mov.f32f32 r1.x, r0.x
end
nop
; FRAG: outputs: r1.x (1:0)
; FRAG: inputs: r63.y (7:0,cm=f,il=8,b=0)
; FRAG: 33 instructions, 1 half, 2 full