add trigonometrics/transcendentals to ls012 opcodes.csv
[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 # Trigonometric (1-arg)
42 fsin(s), TBD, high, 10, yes, EXT0xx, no, transcendentals
43 fcos(s), TBD, high, 10, yes, EXT0xx, no, transcendentals
44 ftan(s), TBD, high, 10, yes, EXT0xx, no, transcendentals
45 fasin(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
46 facos(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
47 fatan(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
48 fsinpi(s), TBD, high, 10, yes, TBD, no, transcendentals
49 fcospi(s), TBD, high, 10, yes, TBD, no, transcendentals
50 ftanpi(s), TBD, high, 10, yes, TBD, no, transcendentals
51 fasinpi(s), TBD, high, 10, yes, EXT2xx, no, transcendentals
52 facospi(s), TBD, high, 10, yes, EXT2xx, no, transcendentals
53 fatanpi(s), TBD, high, 10, yes, EXT2xx, no, transcendentals
54 fsinh(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
55 fcosh(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
56 ftanh(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
57 fasinh(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
58 facosh(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
59 fatanh(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
60 # Transcendentals (1-arg)
61 frsqrt(s), TBD, high, 10, yes, EXT0xx, no, transcendentals
62 fcbrt(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
63 frecip(s), TBD, high, 10, yes, EXT0xx, no, transcendentals
64 fexp2m1(s), TBD, high, 10, yes, EXT0xx, no, transcendentals
65 flog2p1(s), TBD, high, 10, yes, EXT0xx, no, transcendentals
66 fexp2(s), TBD, high, 10, yes, EXT0xx, no, transcendentals
67 flog2(s), TBD, high, 10, yes, EXT0xx, no, transcendentals
68 fexpm1(s), TBD, med, 10, yes, TBD, no, transcendentals
69 flogp1(s), TBD, med, 10, yes, TBD, no, transcendentals
70 fexp(s), TBD, med, 10, yes, TBD, no, transcendentals
71 flog(s), TBD, med, 10, yes, TBD, no, transcendentals
72 fexp10m1(s), TBD, med, 10, yes, TBD, no, transcendentals
73 flog10p1(s), TBD, med, 10, yes, TBD, no, transcendentals
74 fexp10(s), TBD, med, 10, yes, TBD, no, transcendentals
75 flog10(s), TBD, med, 10, yes, TBD, no, transcendentals
76 # Transcendentals (2-arg)
77 fatan2(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
78 fatan2pi(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
79 fpow(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
80 fpown(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
81 fpowr(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
82 frootn(s), TBD, low, 10, yes, EXT2xx, no, transcendentals
83 fhypot(s), TBD, TBD, 10, yes, TBD, no, transcendentals
84 fminnum08(s), TBD, TBD, 10, yes, TBD, no, transcendentals
85 fmaxnum08(s), TBD, TBD, 10, yes, TBD, no, transcendentals
86 fmin19(s), TBD, TBD, 10, yes, TBD, no, transcendentals
87 fmax19(s), TBD, TBD, 10, yes, TBD, no, transcendentals
88 fminnum19(s), TBD, TBD, 10, yes, TBD, no, transcendentals
89 fmaxnum19(s), TBD, TBD, 10, yes, TBD, no, transcendentals
90 fminc(s), TBD, TBD, 10, yes, TBD, no, transcendentals
91 fmaxc(s), TBD, TBD, 10, yes, TBD, no, transcendentals
92 fminmagnum08(s), TBD, TBD, 10, yes, TBD, no, transcendentals
93 fmaxmagnum08(s), TBD, TBD, 10, yes, TBD, no, transcendentals
94 fminmag19(s), TBD, TBD, 10, yes, TBD, no, transcendentals
95 fmaxmag19(s), TBD, TBD, 10, yes, TBD, no, transcendentals
96 fminmagnum19(s), TBD, TBD, 10, yes, TBD, no, transcendentals
97 fmaxmagnum19(s), TBD, TBD, 10, yes, TBD, no, transcendentals
98 fminmagc(s), TBD, TBD, 10, yes, TBD, no, transcendentals
99 fmaxmagc(s), TBD, TBD, 10, yes, TBD, no, transcendentals
100 fmod(s), TBD, TBD, 10, yes, TBD, no, transcendentals
101 fremainder(s), TBD, TBD, 10, yes, TBD, no, transcendentals