add fclass and FP DCT/FFT instructions to optable.csv for ls012
[libreriscv.git] / openpower / sv / rfc / ls012 / optable.csv
1 instruction, rfc, priority, bitcost, vectorisable, group, prefixable, page
2 # Bitmanip LUT2/3 operations. high cost high reward
3 grevlut, TBD, high, 3, yes, TBD, no, sv/bitmanip
4 grevluti, TBD, high, 3, yes, TBD, yes, sv/bitmanip
5 ternlogi, ls007, high, 2, yes, TBD, yes, sv/bitmanip
6 crternlogi, ls007, high, 5, yes, TBD, yes, sv/bitmanip
7 binlut, ls007, high, 6, yes, TBD, no, sv/bitmanip
8 crbinlut, ls007, high, 5, yes, TBD, no, sv/bitmanip
9 # Float-Load-Immediate (always saves one LD L1/2/3 D-Cache op)
10 fmvis, ls002, high, 5, yes, TBD, no, sv/bitmanip
11 fishmv, ls002, high, 5, yes, TBD, no, sv/bitmanip
12 # Shift-and-Add (mitigates LD-ST-Shift; Cryptography e.g. twofish)
13 shadd, ls003, high, 7, yes, TBD, no, sv/bitmanip
14 shadduw, ls003, high, 7, yes, TBD, no, sv/bitmanip
15 # Audio-Video
16 absdu, TBD, TBD, 10, yes, TBD, no, sv/av_opcodes
17 avgadd, TBD, TBD, 10, yes, TBD, no, sv/av_opcodes
18 minmax, TBD, TBD, 10, yes, TBD, no, sv/av_opcodes
19 absaccs, TBD, TBD, 10, yes, TBD, no, sv/av_opcodes
20 absaccu, TBD, TBD, 10, yes, TBD, no, sv/av_opcodes
21 # BMI group
22 bmask, TBD, high, 5, yes, TBD, yes, sv/vector_ops
23 cprop, TBD, high, 5, yes, TBD, yes, sv/vector_ops
24 # SVP64 Management.
25 setvl, ls008, high, 5, no, EXT0xx, yes, sv/setvl
26 svstep, ls008, high, 5, no, EXT0xx, yes, sv/svstep
27 svremap, ls009, high, 5, no, EXT0xx, yes, sv/remap
28 svshape, ls009, high, 5, no, EXT0xx, yes, sv/remap
29 svshape2, ls009, high, 5, no, EXT0xx, yes, sv/remap
30 svindex, ls009, high, 5, no, EXT0xx, yes, sv/remap
31 # GPU swizzle
32 mv.swizzle, TBD, TBD, 4, yes, TBD, yes, sv/mv.swizzle
33 fmv.swizzle, TBD, TBD, 4, yes, TBD, yes, sv/mv.swizzle
34 # CR weirds
35 crrweird, TBD, high, 8, yes, TBD, no, sv/cr_int_predication
36 mfcrweird, TBD, high, 8, yes, TBD, no, sv/cr_int_predication
37 mtcrrweird, TBD, high, 9, yes, TBD, no, sv/cr_int_predication
38 mtcrweird, TBD, high, 9, yes, TBD, no, sv/cr_int_predication
39 crweirder, TBD, high, 9, yes, TBD, no, sv/cr_int_predication
40 mcrfm, , TBD, high, 9, yes, EXT0xx, no, sv/cr_int_predication
41 # fclass (Scalar variant of xvtstdcsp)
42 fptstp(s), TBD, high, 10, yes, EXT0xx, no, sv/fclass
43 # Big-Integer Chained 3-in 2-out (64-bit Carry)
44 dsld, ls003, high, 5, yes, EXT0xx, no, sv/biginteger
45 dsrd, ls003, high, 5, yes, EXT0xx, no, sv/biginteger
46 maddedu ls003, high, 6, yes, EXT0xx, no, sv/biginteger
47 maddedus ls003, high, 6, yes, EXT0xx, no, sv/biginteger
48 divmod2du ls003, high, 6, yes, EXT0xx, no, sv/biginteger
49 # FP DCT/FFT Butterfly (2/3-in 2-out)
50 ffadd(s), TBD, med, 10, yes, EXT2xx, no, isa/svfparith
51 ffsub(s), TBD, med, 10, yes, EXT2xx, no, isa/svfparith
52 ffmul(s), TBD, med, 10, yes, EXT2xx, no, isa/svfparith
53 ffdiv(s), TBD, med, 10, yes, EXT2xx, no, isa/svfparith
54 fdmadd(s), TBD, med, 5, yes, EXT2xx, no, isa/svfparith
55 ffmadd(s), TBD, med, 5, yes, EXT2xx, no, isa/svfparith
56 ffmsub(s), TBD, med, 5, yes, EXT2xx, no, isa/svfparith
57 ffnmadd(s), TBD, med, 5, yes, EXT2xx, no, isa/svfparith
58 ffnmsub(s), TBD, med, 5, yes, EXT2xx, no, isa/svfparith
59 # Trigonometric (1-arg)
60 fsin(s), TBD, high, 10, yes, EXT0xx, no, transcendentals
61 fcos(s), TBD, high, 10, yes, EXT0xx, no, transcendentals
62 ftan(s), TBD, high, 10, yes, EXT0xx, no, transcendentals
63 fasin(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
64 facos(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
65 fatan(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
66 fsinpi(s), TBD, high, 10, yes, TBD, no, transcendentals
67 fcospi(s), TBD, high, 10, yes, TBD, no, transcendentals
68 ftanpi(s), TBD, high, 10, yes, TBD, no, transcendentals
69 fasinpi(s), TBD, high, 10, yes, EXT2xx, no, transcendentals
70 facospi(s), TBD, high, 10, yes, EXT2xx, no, transcendentals
71 fatanpi(s), TBD, high, 10, yes, EXT2xx, no, transcendentals
72 fsinh(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
73 fcosh(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
74 ftanh(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
75 fasinh(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
76 facosh(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
77 fatanh(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
78 # Transcendentals (1-arg)
79 frsqrt(s), TBD, high, 10, yes, EXT0xx, no, transcendentals
80 fcbrt(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
81 frecip(s), TBD, high, 10, yes, EXT0xx, no, transcendentals
82 fexp2m1(s), TBD, high, 10, yes, EXT0xx, no, transcendentals
83 flog2p1(s), TBD, high, 10, yes, EXT0xx, no, transcendentals
84 fexp2(s), TBD, high, 10, yes, EXT0xx, no, transcendentals
85 flog2(s), TBD, high, 10, yes, EXT0xx, no, transcendentals
86 fexpm1(s), TBD, med, 10, yes, TBD, no, transcendentals
87 flogp1(s), TBD, med, 10, yes, TBD, no, transcendentals
88 fexp(s), TBD, med, 10, yes, TBD, no, transcendentals
89 flog(s), TBD, med, 10, yes, TBD, no, transcendentals
90 fexp10m1(s), TBD, med, 10, yes, TBD, no, transcendentals
91 flog10p1(s), TBD, med, 10, yes, TBD, no, transcendentals
92 fexp10(s), TBD, med, 10, yes, TBD, no, transcendentals
93 flog10(s), TBD, med, 10, yes, TBD, no, transcendentals
94 # Transcendentals (2-arg)
95 fatan2(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
96 fatan2pi(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
97 fpow(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
98 fpown(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
99 fpowr(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
100 frootn(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
101 fhypot(s), TBD, TBD, 10, yes, TBD, no, transcendentals
102 fminnum08(s), TBD, TBD, 10, yes, TBD, no, transcendentals
103 fmaxnum08(s), TBD, TBD, 10, yes, TBD, no, transcendentals
104 fmin19(s), TBD, TBD, 10, yes, TBD, no, transcendentals
105 fmax19(s), TBD, TBD, 10, yes, TBD, no, transcendentals
106 fminnum19(s), TBD, TBD, 10, yes, TBD, no, transcendentals
107 fmaxnum19(s), TBD, TBD, 10, yes, TBD, no, transcendentals
108 fminc(s), TBD, TBD, 10, yes, TBD, no, transcendentals
109 fmaxc(s), TBD, TBD, 10, yes, TBD, no, transcendentals
110 fminmagnum08(s), TBD, TBD, 10, yes, TBD, no, transcendentals
111 fmaxmagnum08(s), TBD, TBD, 10, yes, TBD, no, transcendentals
112 fminmag19(s), TBD, TBD, 10, yes, TBD, no, transcendentals
113 fmaxmag19(s), TBD, TBD, 10, yes, TBD, no, transcendentals
114 fminmagnum19(s), TBD, TBD, 10, yes, TBD, no, transcendentals
115 fmaxmagnum19(s), TBD, TBD, 10, yes, TBD, no, transcendentals
116 fminmagc(s), TBD, TBD, 10, yes, TBD, no, transcendentals
117 fmaxmagc(s), TBD, TBD, 10, yes, TBD, no, transcendentals
118 fmod(s), TBD, TBD, 10, yes, TBD, no, transcendentals
119 fremainder(s), TBD, TBD, 10, yes, TBD, no, transcendentals