Files
FFmpeg/libavcodec
Shiyou Yin 153c607525 avutil/mips: refactor msa load and store macros.
Replace STnxm_UB and LDnxm_SH with new macros ST_{H/W/D}{1/2/4/8}.
The old macros are difficult to use because they don't follow the same parameter passing rules.
Changing details as following:
1. remove LD4x4_SH.
2. replace ST2x4_UB with ST_H4.
3. replace ST4x2_UB with ST_W2.
4. replace ST4x4_UB with ST_W4.
5. replace ST4x8_UB with ST_W8.
6. replace ST6x4_UB with ST_W2 and ST_H2.
7. replace ST8x1_UB with ST_D1.
8. replace ST8x2_UB with ST_D2.
9. replace ST8x4_UB with ST_D4.
10. replace ST8x8_UB with ST_D8.
11. replace ST12x4_UB with ST_D4 and ST_W4.

Examples of new macro: ST_H4(in, idx0, idx1, idx2, idx3, pdst, stride)
ST_H4 store four half-word elements in vector 'in' to pdst with stride.
About the macro name:
1) 'ST' means store operation.
2) 'H/W/D' means type of vector element is 'half-word/word/double-word'.
3) Number '1/2/4/8' means how many elements will be stored.
About the macro parameter:
1) 'in0, in1...' 128-bits vector.
2) 'idx0, idx1...' elements index.
3) 'pdst' destination pointer to store to
4) 'stride' stride of each store operation.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-07-19 01:23:23 +02:00
..
2019-07-08 08:27:18 +02:00
2019-06-12 20:06:20 +10:00
2018-10-15 01:19:45 +02:00
2019-06-26 21:25:10 +02:00
2018-09-23 14:42:34 +01:00
2019-07-07 11:33:19 +02:00
2019-06-12 20:06:20 +10:00
2019-04-21 19:43:14 +02:00
2019-05-06 23:58:34 +02:00
2019-06-30 14:27:04 +02:00
2018-12-23 15:30:13 +01:00
2018-12-10 11:19:36 +01:00
2018-09-23 15:25:50 +02:00
2018-12-20 18:40:41 +08:00
2019-01-16 01:29:18 +01:00
2019-06-29 19:22:19 +02:00
2019-07-01 13:24:57 +08:00
2019-04-27 12:33:08 +02:00
2019-03-31 23:35:00 +02:00
2018-12-23 15:30:13 +01:00
2018-12-01 19:41:48 +01:00
2019-01-12 17:16:47 +01:00
2019-07-08 09:44:36 +02:00
2019-05-07 11:00:19 +08:00
2019-04-03 23:00:15 +08:00
2018-12-03 23:34:05 +01:00
2018-11-18 22:59:29 +01:00
2019-07-08 09:38:03 +02:00
2018-09-08 21:21:50 +02:00
2018-12-31 02:37:08 +01:00
2019-06-12 20:06:20 +10:00
2019-06-12 20:06:20 +10:00
2019-05-02 15:36:16 +02:00
2019-05-02 15:36:16 +02:00