Andreas Rheinhardt
5c830fccf4
avcodec/x86/snowdsp: Add SSSE3 inner_add_yblock
...
Compared to the MMX version, this version benefits from wider
registers and pmaddubsw. It also has fewer unnecessary loads
and stores: On x64, the MMX version has 12 unnecessary GPR loads
and 6 stores in each line when width is eight; for width 16,
there are 17 unnecessary GPR loads and six stores per line.
Even the 32bit SSSE3 version only has six loads and zero stores
per line more than the x64 version. Furthermore, in contrast
to the MMX version, the SSSE3 version also does not clobber
the array of block pointers given to it.
Benchmarks:
inner_add_yblock_2_c: 29.2 ( 1.00x)
inner_add_yblock_2_mmx: 32.5 ( 0.90x)
inner_add_yblock_2_ssse3: 28.6 ( 1.02x)
inner_add_yblock_4_c: 85.2 ( 1.00x)
inner_add_yblock_4_mmx: 89.2 ( 0.96x)
inner_add_yblock_4_ssse3: 84.5 ( 1.01x)
inner_add_yblock_8_c: 302.0 ( 1.00x)
inner_add_yblock_8_mmx: 77.0 ( 3.92x)
inner_add_yblock_8_ssse3: 30.6 ( 9.85x)
inner_add_yblock_16_c: 1164.7 ( 1.00x)
inner_add_yblock_16_mmx: 260.4 ( 4.47x)
inner_add_yblock_16_ssse3: 82.3 (14.15x)
Both the MMX and SSSE3 versions leave the size 2 and 4 cases
to ff_snow_inner_add_yblock_c() (but the MMX version has
a prologue at the beginning that it needs to undo before
the call, leading to the higher overhead for these sizes).
I don't know why the SSSE3 version is marginally faster than
the C version in these cases.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2026-04-13 12:51:35 +02:00
..
2026-03-31 22:29:18 +00:00
2026-03-30 14:32:10 +00:00
2026-03-28 11:25:38 +01:00
2026-03-25 12:19:46 +00:00
2026-04-06 11:28:49 +02:00
2026-03-16 11:51:49 +01:00
2026-03-17 16:40:05 +00:00
2026-03-27 18:48:48 +01:00
2026-03-31 23:47:45 +02:00
2026-03-24 18:12:00 +01:00
2026-04-13 12:51:35 +02:00
2026-02-11 12:07:35 +01:00
2026-02-23 07:57:57 +01:00
2026-02-14 20:14:47 +01:00
2026-03-03 01:10:09 +01:00
2026-02-12 10:34:19 +01:00
2026-02-11 12:07:35 +01:00
2026-04-09 03:01:43 +00:00
2026-03-28 12:18:37 +00:00
2026-03-31 14:07:31 +00:00
2026-03-31 14:07:31 +00:00
2026-04-07 14:54:21 +00:00
2026-04-07 14:54:21 +00:00
2026-04-07 14:54:21 +00:00
2026-03-30 13:23:56 +00:00
2026-03-11 10:23:35 +01:00
2026-02-11 12:07:35 +01:00
2026-02-11 12:07:35 +01:00
2026-03-13 04:39:52 +01:00
2026-02-11 12:07:35 +01:00
2026-02-11 12:07:35 +01:00
2026-03-14 19:31:44 +01:00
2026-03-14 19:31:45 +01:00
2026-02-11 12:07:35 +01:00
2026-02-11 12:07:35 +01:00
2026-03-03 13:52:58 -03:00
2026-04-01 14:17:27 +00:00
2026-02-12 09:59:54 -03:00
2026-03-07 20:14:36 +01:00
2026-02-28 16:14:40 -03:00
2026-02-15 20:09:54 +01:00
2026-02-11 12:07:35 +01:00
2026-03-15 19:27:07 -03:00
2026-03-10 13:52:18 +01:00
2026-02-24 10:32:20 -03:00
2026-02-24 10:32:20 -03:00
2026-02-24 10:32:20 -03:00
2026-03-14 21:23:17 +01:00
2026-02-24 10:32:20 -03:00
2026-03-15 19:20:06 -03:00
2026-03-15 19:20:06 -03:00
2026-02-28 16:12:33 -03:00
2026-03-24 11:12:25 -03:00
2026-03-13 09:18:42 -03:00
2026-02-28 16:12:33 -03:00
2026-02-24 10:32:20 -03:00
2026-02-24 10:32:20 -03:00
2026-02-24 10:32:20 -03:00
2026-03-10 13:52:18 +01:00
2026-02-18 23:45:28 +00:00
2026-02-18 23:45:28 +00:00
2026-02-18 23:45:28 +00:00
2026-02-11 12:07:35 +01:00
2026-03-07 19:22:14 -03:00
2026-03-07 19:21:38 -03:00
2026-02-11 12:07:35 +01:00
2026-02-25 08:47:14 +00:00
2026-03-04 14:25:00 +00:00
2026-02-25 08:47:14 +00:00
2026-02-25 08:47:14 +00:00
2026-02-25 08:47:14 +00:00
2026-02-11 12:07:35 +01:00
2026-04-06 14:07:59 -03:00
2026-03-28 22:07:54 -03:00
2026-02-11 12:07:35 +01:00
2026-02-12 11:06:33 +01:00
2026-02-11 12:07:35 +01:00
2026-02-11 12:07:35 +01:00
2026-03-10 13:52:18 +01:00
2026-03-22 00:33:26 +00:00
2026-03-10 13:52:19 +01:00
2026-03-02 12:01:15 +01:00
2026-02-17 20:17:23 -03:00
2026-03-03 13:07:46 +01:00
2026-03-03 13:07:46 +01:00
2026-04-09 01:14:39 +02:00
2026-02-14 18:52:43 +00:00
2026-03-14 23:24:11 +01:00
2026-02-11 12:07:35 +01:00
2026-02-19 19:42:34 +01:00
2026-02-19 19:42:34 +01:00
2026-03-20 15:50:09 +00:00
2026-03-20 15:50:09 +00:00
2026-03-31 23:47:45 +02:00
2026-02-19 19:42:30 +01:00
2026-02-10 19:44:46 +01:00
2026-02-23 22:59:44 +01:00
2026-04-08 21:33:43 +02:00
2026-03-10 13:52:19 +01:00
2026-02-20 11:59:37 +01:00
2026-03-02 18:41:13 +01:00
2026-03-07 20:14:36 +01:00
2026-03-02 17:51:45 +01:00
2026-03-14 16:52:58 +00:00
2026-03-03 13:07:46 +01:00
2026-03-15 19:20:06 -03:00
2026-03-15 19:20:06 -03:00
2026-03-18 13:25:08 -03:00
2026-02-26 11:40:09 +08:00
2026-02-11 12:07:35 +01:00
2026-02-23 23:28:09 +01:00
2026-03-10 13:52:19 +01:00
2026-03-04 22:31:19 +00:00
2026-03-04 22:31:19 +00:00
2026-03-01 12:04:14 +01:00
2026-03-01 11:58:16 +01:00
2026-03-01 11:58:16 +01:00
2026-02-11 12:07:35 +01:00
2026-02-23 23:58:11 +01:00
2026-02-23 23:50:49 +01:00
2026-03-15 17:25:12 -03:00
2026-03-03 00:35:21 +01:00
2026-03-27 13:56:00 +00:00
2026-02-20 16:32:10 +01:00
2026-02-20 16:32:10 +01:00
2026-02-20 16:32:10 +01:00
2026-03-09 18:39:33 -03:00
2026-04-06 14:07:59 -03:00
2026-04-06 14:07:59 -03:00
2026-04-06 14:07:59 -03:00
2026-04-06 14:07:59 -03:00
2026-04-06 14:07:59 -03:00
2026-04-06 14:07:59 -03:00
2026-03-13 02:49:59 +01:00
2026-02-11 12:07:38 +01:00
2026-04-06 23:39:40 +00:00
2026-02-17 20:17:23 -03:00
2026-02-12 09:59:54 -03:00
2026-02-17 20:17:23 -03:00
2026-02-12 09:59:54 -03:00
2026-02-17 20:17:23 -03:00
2026-02-25 16:43:53 +01:00
2026-02-21 22:43:41 +00:00
2026-02-18 23:38:16 +00:00
2026-02-17 20:17:23 -03:00
2026-02-15 20:28:31 +01:00
2026-03-17 13:39:59 -07:00
2026-02-11 12:07:35 +01:00
2026-03-06 23:25:29 +01:00
2026-04-09 03:01:43 +00:00
2026-02-23 22:54:38 +01:00
2026-03-20 04:40:06 +00:00
2026-02-11 12:07:35 +01:00
2026-02-11 12:07:35 +01:00
2026-02-20 16:32:10 +01:00
2026-03-12 14:47:01 +01:00
2026-03-12 14:47:01 +01:00
2026-03-07 20:14:36 +01:00
2026-03-10 13:52:19 +01:00
2026-02-11 12:07:35 +01:00
2026-02-11 12:07:35 +01:00
2026-03-07 20:14:36 +01:00
2026-03-07 20:14:36 +01:00
2026-03-03 13:07:46 +01:00
2026-03-04 10:40:12 +00:00
2026-03-10 13:52:18 +01:00
2026-03-07 20:14:36 +01:00
2026-02-13 09:21:33 +01:00
2026-04-06 10:39:17 +02:00
2026-04-06 10:39:17 +02:00
2026-02-20 16:32:10 +01:00
2026-02-11 12:07:35 +01:00
2026-03-28 20:14:13 +00:00
2026-02-17 16:36:51 +00:00
2026-03-10 15:08:16 +00:00
2026-02-11 12:07:35 +01:00
2026-03-07 20:14:36 +01:00
2026-02-11 12:07:35 +01:00
2026-03-07 19:21:44 -03:00
2026-03-07 19:22:40 -03:00
2026-02-11 12:07:35 +01:00
2026-02-11 12:07:35 +01:00
2026-04-09 03:01:43 +00:00
2026-03-25 16:48:12 +00:00
2026-03-06 02:33:59 +01:00
2026-02-14 18:53:08 +00:00
2026-03-05 14:02:39 +00:00
2026-03-05 14:02:39 +00:00
2026-03-05 14:02:39 +00:00
2026-03-05 14:02:39 +00:00
2026-02-11 20:35:20 +00:00
2026-03-13 09:18:42 -03:00
2026-02-11 12:07:35 +01:00
2026-03-28 22:07:54 -03:00
2026-02-11 12:07:35 +01:00
2026-02-09 17:36:40 +00:00
2026-02-13 09:21:33 +01:00
2026-03-10 13:52:19 +01:00
2026-03-07 20:14:36 +01:00
2026-03-07 20:14:36 +01:00
2026-03-07 20:14:36 +01:00
2026-04-08 20:59:52 +02:00
2026-03-18 18:05:20 +01:00
2026-02-19 22:39:35 +00:00
2026-03-28 11:25:38 +01:00
2026-03-28 11:25:38 +01:00
2026-03-28 11:25:38 +01:00
2026-03-28 11:25:38 +01:00
2026-03-28 11:25:38 +01:00
2026-02-11 12:07:35 +01:00
2026-04-13 12:51:35 +02:00
2026-04-13 12:51:35 +02:00
2026-04-13 12:51:35 +02:00
2026-04-13 12:46:24 +02:00
2026-04-13 12:46:24 +02:00
2026-03-02 19:01:46 +01:00
2026-04-13 12:46:24 +02:00
2026-02-11 12:07:35 +01:00
2026-02-23 23:26:20 +01:00
2026-02-11 12:07:35 +01:00
2026-03-06 23:08:03 +01:00
2026-03-10 13:52:18 +01:00
2026-03-12 14:47:01 +01:00
2026-03-17 13:39:59 -07:00
2026-03-19 14:44:40 +01:00
2026-03-19 14:44:40 +01:00
2026-03-19 14:44:40 +01:00
2026-04-12 22:15:51 +00:00
2026-03-28 22:07:54 -03:00
2026-04-12 22:15:51 +00:00
2026-02-11 12:07:35 +01:00
2026-03-03 02:41:05 +01:00
2026-03-10 13:52:19 +01:00
2026-03-25 14:31:34 +00:00
2026-04-11 12:50:07 +00:00
2026-02-19 19:42:31 +01:00
2026-03-31 23:47:45 +02:00
2026-02-19 19:42:31 +01:00
2026-02-19 19:42:26 +01:00
2026-02-23 15:29:27 +00:00
2026-03-10 13:52:18 +01:00
2026-02-11 12:07:35 +01:00
2026-02-11 12:07:35 +01:00
2026-03-13 23:22:54 +01:00
2026-03-16 10:24:33 +00:00