diff options
| author | Michael Brown | 2015-02-17 01:42:28 +0100 |
|---|---|---|
| committer | Michael Brown | 2015-02-17 01:42:28 +0100 |
| commit | 21d3d5c47c6479b2aadce3b03e298e72712f47f5 (patch) | |
| tree | eb5cbbd9100ff3fcb9e113ae40436ed0b04bc3b4 /src/drivers/usb | |
| parent | [test] Add constant-length memset() self-tests (diff) | |
| download | ipxe-21d3d5c47c6479b2aadce3b03e298e72712f47f5.tar.gz ipxe-21d3d5c47c6479b2aadce3b03e298e72712f47f5.tar.xz ipxe-21d3d5c47c6479b2aadce3b03e298e72712f47f5.zip | |
[libc] Reduce size of memset()
As with memcpy(), we can reduce the code size (by an average of 0.2%)
by giving the compiler more visibility into what memset() is doing,
and by avoiding the "rep" prefix on short fixed-length sequences of
string operations.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/usb')
0 files changed, 0 insertions, 0 deletions
