summaryrefslogtreecommitdiff
path: root/reference/sad-frag.asm
blob: 3116ce3bc0024518ccf922c985759ec3c3ac4dcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
; options:
; FRAG: new compiler
@out(r1.x)	out0
@out(r1.y)	out1
@out(r1.z)	out2
@out(r1.w)	out3
@const(c0.x)	0x00000000, 0x3f800000, 0x00000000, 0x00000000
(sy)(ss)mov.f32f32 r1.w, c0.x
mov.f32f32 r1.z, c0.x
mov.f32f32 r1.y, c0.y
mov.f32f32 r1.x, c0.x
end
nop
nop
nop
; FRAG: outputs: r1.x (1:0)
; FRAG: inputs: r0.x (5:0,cm=f,il=8,b=1)
; FRAG: 5 instructions, 0 half, 2 full