diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-08-07 05:29:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-07 05:29:12 +0200 |
| commit | 8a160d6fcd361041dcd6edb8f72c411f71e3a23c (patch) | |
| tree | 8daf533d854d49c7522c1e3a4b68c3174f90b3ad /tests/codegen/patchable-function-entry | |
| parent | fe6a4773a1e4848309203506977701292710f457 (diff) | |
| parent | b132a7e6d4fb9ebf27c467a42d203a6056f22662 (diff) | |
| download | rust-8a160d6fcd361041dcd6edb8f72c411f71e3a23c.tar.gz rust-8a160d6fcd361041dcd6edb8f72c411f71e3a23c.zip | |
Rollup merge of #114382 - scottmcm:compare-bytes-intrinsic, r=cjgillot
Add a new `compare_bytes` intrinsic instead of calling `memcmp` directly As discussed in #113435, this lets the backends be the place that can have the "don't call the function if n == 0" logic, if it's needed for the target. (I didn't actually *add* those checks, though, since as I understood it we didn't actually need them on known targets?) Doing this also let me make it `const` (unstable), which I don't think `extern "C" fn memcmp` can be. cc `@RalfJung` `@Amanieu`
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions
