blob: b71b643ff20749a4fc58f8394071b51396d18fea [file] [log] [blame]
9 registers, 56 instructions:
0 r0 = uniform32 ptr0 4
1 r1 = uniform32 ptr0 8
2 r2 = uniform32 ptr0 C
3 r3 = splat 0 (0)
4 r4 = splat 3F800000 (1)
5 r5 = splat 40000000 (2)
6 r5 = mul_f32 r2 r5
7 r5 = sub_f32 r5 r4
8 r6 = splat 7FFFFFFF (nan)
9 r5 = bit_and r5 r6
10 r5 = sub_f32 r4 r5
11 r5 = mul_f32 r1 r5
12 r1 = splat 3F2AAAAB (0.66666669)
13 r7 = splat 3EAAAAAB (0.33333334)
14 r1 = add_f32 r0 r1
15 r7 = add_f32 r0 r7
16 r8 = floor r0
17 r8 = sub_f32 r0 r8
18 r0 = floor r1
19 r0 = sub_f32 r1 r0
20 r1 = floor r7
21 r1 = sub_f32 r7 r1
22 r7 = splat 40C00000 (6)
23 r8 = mul_f32 r8 r7
24 r0 = mul_f32 r0 r7
25 r7 = mul_f32 r1 r7
26 r1 = splat 40400000 (3)
27 r8 = sub_f32 r8 r1
28 r0 = sub_f32 r0 r1
29 r1 = sub_f32 r7 r1
30 r8 = bit_and r8 r6
31 r0 = bit_and r0 r6
32 r6 = bit_and r1 r6
33 r8 = sub_f32 r8 r4
34 r0 = sub_f32 r0 r4
35 r6 = sub_f32 r6 r4
36 r8 = min_f32 r8 r4
37 r8 = max_f32 r3 r8
38 r0 = min_f32 r0 r4
39 r0 = max_f32 r3 r0
40 r6 = min_f32 r6 r4
41 r6 = max_f32 r3 r6
42 r3 = splat 3F000000 (0.5)
43 r8 = sub_f32 r8 r3
44 r0 = sub_f32 r0 r3
45 r3 = sub_f32 r6 r3
46 r8 = mul_f32 r5 r8
47 r0 = mul_f32 r5 r0
48 r3 = mul_f32 r5 r3
49 r8 = add_f32 r2 r8
50 r0 = add_f32 r2 r0
51 r3 = add_f32 r2 r3
loop:
52 store32 ptr1 r8
53 store32 ptr2 r0
54 store32 ptr3 r3
55 store32 ptr4 r4