memtest86plus/tests
Lionel Debroux 9b9c65b968
Reduce padding and relocations (#355)
* Optimize the JEP106 list by using __attribute__((packed)) to remove padding. The x86 & x86_64 series support unaligned accesses just fine, after all, and this is not remotely a hot path.

* Optimize several string-related constructs by switching to fixed-length char arrays, which avoids pointers + relocations.

* app/interrupt.c: array of different-length strings, but most of those are lengthy enough for this to be a clear win, especially on x86_64;
* system/usbhcd.c: array of same-length strings;
* tests/tests.h: array of structs containing same-length strings.

* Reduce the size of the list of tests by using a narrower type for the cpu mode, which reduces padding.
2023-11-29 12:45:17 +01:00
..
addr_walk1.c Simple maintenance improvements (#145) 2022-08-15 17:51:48 +02:00
bit_fade.c Remove volatile qualifier from testword pointers. 2022-02-19 13:01:42 +00:00
block_move.c Skip segments in tests where the calculated chunk size is too small. 2022-12-10 15:24:26 +00:00
modulo_n.c Skip segments in tests where the calculated chunk size is too small. 2022-12-10 15:24:26 +00:00
mov_inv_fixed.c Skip segments in tests where the calculated chunk size is too small. 2022-12-10 15:24:26 +00:00
mov_inv_random.c Skip segments in tests where the calculated chunk size is too small. 2022-12-10 15:24:26 +00:00
mov_inv_walk1.c Significantly optimize test_mov_inv_walk1() for size by moving the ternary operators related to inverse and pattern outside hot paths, which prevents generated code duplication and shortens one of the sides of duplicated loops. (#351) 2023-11-19 17:14:08 +01:00
own_addr.c Improved own addr test (#219) 2023-01-04 23:26:22 +01:00
test_funcs.h Exclude copyright notices from Doxygen file descriptions. 2022-02-19 19:56:55 +00:00
test_helper.c Improve efficiency of random number generation (discussion #8). 2022-03-05 20:04:32 +00:00
test_helper.h Improve efficiency of random number generation (discussion #8). 2022-03-05 20:04:32 +00:00
tests.c Improved own addr test (#219) 2023-01-04 23:26:22 +01:00
tests.h Reduce padding and relocations (#355) 2023-11-29 12:45:17 +01:00