about summary refs log tree commit diff
path: root/tests/ui/asm/aarch64
AgeCommit message (Collapse)AuthorLines
2025-05-19in aarch64 asm parse error tests, only test cases specific to that targetFolkert de Vries-470/+7
this is more in line with the x86 parse error tests. The cross-platform tests were more complete anyway
2025-05-18delay error for unsupported optionsFolkert de Vries-28/+14
2025-04-05Update the minimum external LLVM to 19Josh Stone-317/+24
2025-02-11Rollup merge of #136239 - folkertdev:show-supported-register-classes, ↵Matthias Krüger-0/+2
r=SparrowLii,jieyouxu show supported register classes in error message a simple diagnostic change that shows the supported register classes when an invalid one is found. This information can be hard to find (especially for unstable targets), and this message now gives at least something to try or search for. I've followed the pattern for invalid clobber ABIs. `@rustbot` label +A-inline-assembly
2025-02-10Show diff suggestion format on verbose replacementEsteban Küber-16/+24
``` error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields --> $DIR/attempted-access-non-fatal.rs:7:15 | LL | let _ = 2.l; | ^ | help: if intended to be a floating point literal, consider adding a `0` after the period and a `f64` suffix | LL - let _ = 2.l; LL + let _ = 2.0f64; | ```
2025-01-29show supported register classesFolkert de Vries-0/+2
in inline assembly, show the supported register classes when an invalid one is found
2024-12-17tests/ui/asm: Remove uses of rustc_attrs, lang_items, and decl_macro ↵Taiki Endo-27/+7
features by using minicore
2024-11-26Pass end position of span through inline ASM cookiebeetrees-24/+347
2024-11-10Stabilize Arm64EC inline assemblyTaiki Endo-1/+1
2024-10-14Fix clobber_abi and disallow SVE-related registers in Arm64EC inline assemblyTaiki Endo-0/+73
2024-09-30make type-check-4 asm tests about non-const expressionsRalf Jung-48/+0
2024-09-26Stabilize `const_refs_to_static`Ding Xiang Fei-47/+25
update tests fix bitwidth-sensitive stderr output use build-fail for asm tests
2024-09-09Ban non-array SIMDScott McMurray-11/+11
2024-08-25Add `f16` and `f128` inline ASM support for `aarch64`beetrees-6/+10
2024-08-24Enable f16 in assembly on aarch64 platforms that support itrongfu.leng-3/+24
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
2024-08-13stabilize `asm_const`Folkert-94/+87
2024-08-06Auto merge of #125558 - Amanieu:const-asm-type, r=lcnrbors-43/+9
Tweak type inference for `const` operands in inline asm Previously these would be treated like integer literals and default to `i32` if a type could not be determined. To allow for forward-compatibility with `str` constants in the future, this PR changes type inference to use an unbound type variable instead. The actual type checking is deferred until after typeck where we still ensure that the final type for the `const` operand is an integer type. <!-- If this PR is related to an unstable feature or an otherwise tracked effort, please link to the relevant tracking issue here. If you don't know of a related tracking issue or there are none, feel free to ignore this. This PR will get automatically assigned to a reviewer. In case you would like a specific user to review your work, you can assign it to them by using r​? <reviewer name> -->
2024-08-01separate test file for invalid sym operandFolkert-43/+9
2024-07-27update aarch64 asm testsFolkert-36/+50
2024-07-11Fix aarch64 testEsteban Küber-24/+40
2024-06-19Fix broken aarch64 unwind testGary Guo-1/+1
2024-04-10Handle more cases of "values to suggest" given a typeEsteban Küber-4/+4
Add handling for `String`, `Box`, `Option` and `Result`.
2024-03-23Rollup merge of #121940 - veera-sivarajan:bugfix-121593, r=fmeaseJubilee-20/+20
Mention Register Size in `#[warn(asm_sub_register)]` Fixes #121593 Displays the register size information obtained from `suggest_modifier()` and `default_modifier()`.
2024-03-20Update test for `aarch64`Veera-20/+20
2024-03-07Bless aarch64 asm testGary Guo-4/+4
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-36/+36
2024-02-10manually bless an aarch64 testRalf Jung-10/+22
2024-01-30Update feature names for new stdarchAmanieu d'Antras-2/+2
2024-01-05Remove revisions for THIR unsafeckMatthew Jasper-2/+0
This is to make the diff when stabilizing it easier to review.
2023-11-28Name explicit registers in conflict register errors for inline assemblyGeorge Wort-9/+9
2023-10-19Fix duplicate labels emitted in `render_multispan_macro_backtrace()`Gurinder Singh-6/+1
Using hash set instead of vec to weed out duplicates
2023-09-21adjust how closure/generator types and rvalues are printedRalf Jung-1/+1
2023-06-14mark relevant tests as requiring unwindingPietro Albini-0/+1
2023-01-27Relax ordering rules for `asm!` operandsAmanieu d'Antras-129/+63
The `asm!` and `global_asm!` macros require their operands to appear strictly in the following order: - Template strings - Positional operands - Named operands - Explicit register operands - `clobber_abi` - `options` This is overly strict and can be inconvienent when building complex `asm!` statements with macros. This PR relaxes the ordering requirements as follows: - Template strings must still come before all other operands. - Positional operands must still come before named and explicit register operands. - Named and explicit register operands can be freely mixed. - `options` and `clobber_abi` can appear in any position.
2023-01-11Move /src/test to /testsAlbert Larsan-0/+2240