iquant.h
1.4 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#
# iquant.h
#
# Local definitions for inverse quantization
#
#define SCALE 0
#define SCALE2 1
#define QUANT 5
#define QUANT_LOAD eval(QUANT*2)
#define SHIFT_R 6
#define SHIFT_L 7
### Register Usage ###
### 1. Vector Registers ###
.name qmat_r0, $v4
.name qmat_r1, $v5
.name qmat_r2, $v6
.name qmat_r3, $v7
.name qmat_r4, $v8
.name qmat_r5, $v9
.name qmat_r6, $v10
.name qmat_r7, $v11
.name in_r0, $v12
.name in_r1, $v13
.name in_r2, $v14
.name in_r3, $v15
.name in_r4, $v16
.name in_r5, $v17
.name in_r6, $v18
.name in_r7, $v19
.name out_r0, $v20
.name out_r1, $v21
.name out_r2, $v22
.name out_r3, $v23
.name out_r4, $v24
.name out_r5, $v25
.name out_r6, $v26
.name out_r7, $v27
.name dc, $v29
.name qscale, $v30
.name vconsts, $v31
### Scalar Registers ###
.name dummy, $20
.name consts_addr, $21
.name qmat_addr, $22