@@ -46,19 +46,27 @@ const impl_list_map_t regular_f32_f32_impl_list_map {
46
46
47
47
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , nCw16c))
48
48
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , nCw8c))
49
+ #ifdef ENABLE_UNUSED_PRIM
49
50
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , nCw4c))
50
51
51
52
REG_REORDER_P (REG_SR_BIDIR (f32 , nCw4c, f32 , nCw16c))
52
53
REG_REORDER_P (REG_SR_BIDIR (f32 , nCw8c, f32 , nCw16c))
53
54
54
55
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , OIw4i4o))
55
56
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , OIw4o4i))
56
- REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , OIw8i8o))
57
+ #endif
58
+ REG_REORDER_P (REG_SR (f32 , any, f32 , OIw8i8o, fmt_order_keep))
59
+ #ifdef ENABLE_UNUSED_PRIM
60
+ REG_REORDER_P (REG_SR (f32 , any, f32 , OIw8i8o, fmt_order_reverse))
57
61
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , OIw8o8i))
58
62
59
63
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , OIw16o16i))
60
- REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , OIw16i16o))
64
+ #endif
65
+ REG_REORDER_P (REG_SR (f32 , any, f32 , OIw16i16o, fmt_order_keep))
66
+ #ifdef ENABLE_UNUSED_PRIM
67
+ REG_REORDER_P (REG_SR (f32 , any, f32 , OIw16i16o, fmt_order_reverse))
61
68
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , IOw16o16i))
69
+ #endif
62
70
63
71
REG_REORDER_P (REG_SR (f32 , any, f32 , any, fmt_order_any, spec_reference))
64
72
@@ -78,10 +86,14 @@ const impl_list_map_t regular_f32_f32_impl_list_map {
78
86
79
87
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , nChw16c))
80
88
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , nChw8c))
89
+ #ifdef ENABLE_UNUSED_PRIM
81
90
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , nChw4c))
82
91
83
92
REG_REORDER_P (REG_SR_BIDIR (f32 , nChw4c, f32 , nChw16c))
84
- REG_REORDER_P (REG_SR_BIDIR (f32 , nChw8c, f32 , nChw16c))
93
+ #endif
94
+ REG_REORDER_P (REG_SR (f32 , nChw8c, f32 , nChw16c, fmt_order_keep))
95
+ #ifdef ENABLE_UNUSED_PRIM
96
+ REG_REORDER_P (REG_SR (f32 , nChw8c, f32 , nChw16c, fmt_order_reverse))
85
97
86
98
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , gOIw4i4o ))
87
99
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , gOIw4o4i ))
@@ -94,20 +106,44 @@ const impl_list_map_t regular_f32_f32_impl_list_map {
94
106
95
107
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , OIhw4i4o))
96
108
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , OIhw4o4i))
97
- REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , Ohwi8o))
98
-
99
- REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , OIhw8i8o))
100
- REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , OIhw8o8i))
109
+ #endif
110
+ REG_REORDER_P (REG_SR (f32 , any, f32 , Ohwi8o, fmt_order_keep))
111
+ #ifdef ENABLE_UNUSED_PRIM
112
+ REG_REORDER_P (REG_SR (f32 , any, f32 , Ohwi8o, fmt_order_reverse))
113
+ #endif
114
+
115
+ REG_REORDER_P (REG_SR (f32 , any, f32 , OIhw8i8o, fmt_order_keep))
116
+ #ifdef ENABLE_UNUSED_PRIM
117
+ REG_REORDER_P (REG_SR (f32 , any, f32 , OIhw8i8o, fmt_order_reverse))
118
+ #endif
119
+ REG_REORDER_P (REG_SR (f32 , any, f32 , OIhw8o8i, fmt_order_keep))
120
+ #ifdef ENABLE_UNUSED_PRIM
121
+ REG_REORDER_P (REG_SR (f32 , any, f32 , OIhw8o8i, fmt_order_reverse))
101
122
102
123
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , Oihw4o))
103
- REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , Oihw16o))
124
+ #endif
125
+ REG_REORDER_P (REG_SR (f32 , any, f32 , Oihw16o, fmt_order_keep))
126
+ #ifdef ENABLE_UNUSED_PRIM
127
+ REG_REORDER_P (REG_SR (f32 , any, f32 , Oihw16o, fmt_order_reverse))
128
+
104
129
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , Ohwi4o))
105
- REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , Ohwi16o))
106
- REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , OIhw16o16i))
107
- REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , OIhw16i16o))
130
+ #endif
131
+ REG_REORDER_P (REG_SR (f32 , any, f32 , Ohwi16o, fmt_order_keep))
132
+ #ifdef ENABLE_UNUSED_PRIM
133
+ REG_REORDER_P (REG_SR (f32 , any, f32 , Ohwi16o, fmt_order_reverse))
134
+ #endif
135
+ REG_REORDER_P (REG_SR (f32 , any, f32 , OIhw16o16i, fmt_order_keep))
136
+ #ifdef ENABLE_UNUSED_PRIM
137
+ REG_REORDER_P (REG_SR (f32 , any, f32 , OIhw16o16i,fmt_order_reverse))
138
+ #endif
139
+ REG_REORDER_P (REG_SR (f32 , any, f32 , OIhw16i16o, fmt_order_keep))
140
+ #ifdef ENABLE_UNUSED_PRIM
141
+ REG_REORDER_P (REG_SR (f32 , any, f32 , OIhw16i16o, fmt_order_reverse))
142
+
108
143
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , IOhw16o16i))
109
144
110
145
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , OIhw4i16o4i))
146
+ #endif
111
147
112
148
REG_REORDER_P (REG_SR (f32 , any, f32 , any, fmt_order_any, spec_reference))
113
149
@@ -126,6 +162,7 @@ const impl_list_map_t regular_f32_f32_impl_list_map {
126
162
127
163
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , nCdhw16c))
128
164
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , nCdhw8c))
165
+ #ifdef ENABLE_UNUSED_PRIM
129
166
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , nCdhw4c))
130
167
131
168
REG_REORDER_P (REG_SR_BIDIR (f32 , nCdhw4c, f32 , nCdhw16c))
@@ -147,18 +184,37 @@ const impl_list_map_t regular_f32_f32_impl_list_map {
147
184
148
185
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , OIdhw4i4o))
149
186
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , OIdhw4o4i))
150
- REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , Odhwi8o))
151
- REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , OIdhw8i8o))
187
+ #endif
188
+ REG_REORDER_P (REG_SR (f32 , any, f32 , Odhwi8o, fmt_order_keep))
189
+ #ifdef ENABLE_UNUSED_PRIM
190
+ REG_REORDER_P (REG_SR (f32 , any, f32 , Odhwi8o, fmt_order_reverse))
191
+ #endif
192
+ REG_REORDER_P (REG_SR (f32 , any, f32 , OIdhw8i8o, fmt_order_keep))
193
+ #ifdef ENABLE_UNUSED_PRIM
194
+ REG_REORDER_P (REG_SR (f32 , any, f32 , OIdhw8i8o, fmt_order_reverse))
195
+
152
196
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , OIdhw8o8i))
153
197
154
198
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , Oidhw4o))
155
- REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , Oidhw16o))
156
- REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , Odhwi16o))
199
+ #endif
200
+ REG_REORDER_P (REG_SR (f32 , any, f32 , Oidhw16o, fmt_order_keep))
201
+ #ifdef ENABLE_UNUSED_PRIM
202
+ REG_REORDER_P (REG_SR (f32 , any, f32 , Oidhw16o, fmt_order_reverse))
203
+ #endif
204
+ REG_REORDER_P (REG_SR (f32 , any, f32 , Odhwi16o, fmt_order_keep))
205
+ #ifdef ENABLE_UNUSED_PRIM
206
+ REG_REORDER_P (REG_SR (f32 , any, f32 , Odhwi16o, fmt_order_reverse))
207
+
157
208
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , OIdhw16o16i))
158
- REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , OIdhw16i16o))
209
+ #endif
210
+ REG_REORDER_P (REG_SR (f32 , any, f32 , OIdhw16i16o, fmt_order_keep))
211
+ #ifdef ENABLE_UNUSED_PRIM
212
+ REG_REORDER_P (REG_SR (f32 , any, f32 , OIdhw16i16o, fmt_order_reverse))
213
+
159
214
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , IOdhw16o16i))
160
215
161
216
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , gOIhw4i16o4i ))
217
+ #endif
162
218
163
219
REG_REORDER_P (REG_SR (f32 , any, f32 , any, fmt_order_any, spec_reference))
164
220
@@ -172,6 +228,7 @@ const impl_list_map_t regular_f32_f32_impl_list_map {
172
228
173
229
DNNL_AARCH64_ONLY (CPU_REORDER_INSTANCE (aarch64_jit_uni_reorder_t ))
174
230
231
+ #ifdef ENABLE_UNUSED_PRIM
175
232
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , gOIdhw4i4o ))
176
233
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , gOIdhw4o4i ))
177
234
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , gOdhwi8o ))
@@ -184,6 +241,7 @@ const impl_list_map_t regular_f32_f32_impl_list_map {
184
241
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , gOIdhw16o16i ))
185
242
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , gOIdhw16i16o ))
186
243
REG_REORDER_P (REG_SR_BIDIR (f32 , any, f32 , gIOdhw16o16i ))
244
+ #endif
187
245
188
246
REG_REORDER_P (REG_SR (f32 , any, f32 , any, fmt_order_any, spec_reference))
189
247
0 commit comments