diff options
| author | winstonallo <arthurbiedchar@gmail.com> | 2025-08-13 17:52:51 +0200 |
|---|---|---|
| committer | winstonallo <arthurbiedchar@gmail.com> | 2025-08-27 20:17:08 +0200 |
| commit | 5f39612e7af612f41cf2e78c254e06ad7e4c32e0 (patch) | |
| tree | a13723e42169855e9394de72b7699bfd8326a1f4 /tests/rustdoc-js-std/parser-paths.js | |
| parent | 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 (diff) | |
| download | rust-5f39612e7af612f41cf2e78c254e06ad7e4c32e0.tar.gz rust-5f39612e7af612f41cf2e78c254e06ad7e4c32e0.zip | |
Add assembly tests verifying the functionality of `-Zreg-struct-return` for structs of different sizes.
This test covers: * The callee side, making sure that the structs are correctly loaded into registers when `-Zreg-struct-return` is enabled * The caller side, making sure that callers do receive returned structs in registers when `-Zreg-struct-return` is enabled Structs of the size of up to 2 registers (8 bytes) can be returned in registers in x86_32. Therefore, the tests are done with 3 different struct sizes: * 2 bytes (register returns should happen) * 8 bytes (last value where register returns should happen) * 12 bytes (register returns should not happen even when `-Zreg-struct-return` is enabled)
Diffstat (limited to 'tests/rustdoc-js-std/parser-paths.js')
0 files changed, 0 insertions, 0 deletions
