mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2024-11-27 01:50:20 -06:00
9b9c65b968
* 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. |
||
---|---|---|
.. | ||
addr_walk1.c | ||
bit_fade.c | ||
block_move.c | ||
modulo_n.c | ||
mov_inv_fixed.c | ||
mov_inv_random.c | ||
mov_inv_walk1.c | ||
own_addr.c | ||
test_funcs.h | ||
test_helper.c | ||
test_helper.h | ||
tests.c | ||
tests.h |