diff options
| author | Trevor Gross <tmgross@umich.edu> | 2025-04-09 01:56:14 +0000 |
|---|---|---|
| committer | Trevor Gross <t.gross35@gmail.com> | 2025-04-08 22:04:58 -0500 |
| commit | 4e5cbbeda169377e5025a979105d0dac31bf560a (patch) | |
| tree | f2120e4a7e8ee746a1530193ea110afc8360e34b /tests/codegen/patchable-function-entry | |
| parent | 725759602a1ca7bca8f2acf1b2cb13e7cb7fa01d (diff) | |
| download | rust-4e5cbbeda169377e5025a979105d0dac31bf560a.tar.gz rust-4e5cbbeda169377e5025a979105d0dac31bf560a.zip | |
Replace calls to `core::arch` intrinsics with assembly
Some backends may replace calls to `core::arch` with multiple calls to `sqrt` [1], which becomes recursive. Help mitigate this by replacing the call with assembly. Results in the same assembly as the current implementation when built with optimizations. [1]: https://github.com/rust-lang/compiler-builtins/issues/649
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions
