rust/library/compiler-builtins/testcrate/tests
Joseph Richey 34e35d74b6
Use REP MOVSQ/STOSQ on x86_64 (#365)
* mem: Move mem* functions to separate directory

Signed-off-by: Joe Richey <joerichey@google.com>

* memcpy: Create separate memcpy.rs file

Signed-off-by: Joe Richey <joerichey@google.com>

* benches: Add benchmarks for mem* functions

This allows comparing the "normal" implementations to the
implementations provided by this crate.

Signed-off-by: Joe Richey <joerichey@google.com>

* mem: Add REP MOVSB/STOSB implementations

The assembly generated seems correct:
    https://rust.godbolt.org/z/GGnec8

Signed-off-by: Joe Richey <joerichey@google.com>

* mem: Add documentations for REP string insturctions

Signed-off-by: Joe Richey <joerichey@google.com>

* Use quad-word rep string instructions

Signed-off-by: Joe Richey <joerichey@google.com>

* Prevent panic when compiled in debug mode

Signed-off-by: Joe Richey <joerichey@google.com>

* Add tests for mem* functions

Signed-off-by: Joe Richey <joerichey@google.com>

* Add build/test with the "asm" feature

Signed-off-by: Joe Richey <joerichey@google.com>

* Add byte length to Bencher

Signed-off-by: Joe Richey <joerichey@google.com>
2020-10-24 10:58:04 -05:00
..
aeabi_memclr.rs Allow FFI-unsafe warnings for u128/i128 (#323) 2019-11-11 12:19:10 -06:00
aeabi_memcpy.rs Run rustfmt over everything 2019-05-14 14:40:38 -07:00
aeabi_memset.rs Allow FFI-unsafe warnings for u128/i128 (#323) 2019-11-11 12:19:10 -06:00
div_rem.rs Add __divmodti4 2020-08-29 18:02:57 -05:00
generated.rs Fix compile error on x86_64-unknown-uefi target (#331) 2019-12-10 09:02:14 -08:00
leading_zeros.rs Improve __clzsi2 performance (#366) 2020-07-28 13:09:18 -05:00
mem.rs Use REP MOVSQ/STOSQ on x86_64 (#365) 2020-10-24 10:58:04 -05:00