summary refs log tree commit diff
path: root/tests/assembly
AgeCommit message (Collapse)AuthorLines
2023-05-18Also assume wrap-around discriminants in `as` MIR buildingScott McMurray-0/+28
Resolves this FIXME: https://github.com/rust-lang/rust/blob/8d18c32b61476ed16dd15074e71be3970368d6d7/compiler/rustc_mir_build/src/build/expr/as_rvalue.rs#L231
2023-05-06Tune the `is_ascii` implementation used for short slicesScott McMurray-0/+35
2023-04-25Add loongarch64 asm! supportzhaixiaojuan-0/+196
2023-04-23allow array-style simd in inline asmEzra Shaw-0/+25
2023-04-12Add inline assembly support for m68kIan Douglas Scott-0/+83
2023-04-05Fix an assembly test with a hard-coded hashThom Chiovoloni-2/+2
2023-03-31Auto merge of #98112 - saethlin:mir-alignment-checks, r=oli-obkbors-0/+1
Insert alignment checks for pointer dereferences when debug assertions are enabled Closes https://github.com/rust-lang/rust/issues/54915 - [x] Jake tells me this sounds like a place to use `MirPatch`, but I can't figure out how to insert a new basic block with a new terminator in the middle of an existing basic block, using `MirPatch`. (if nobody else backs up this point I'm checking this as "not actually a good idea" because the code looks pretty clean to me after rearranging it a bit) - [x] Using `CastKind::PointerExposeAddress` is definitely wrong, we don't want to expose. Calling a function to get the pointer address seems quite excessive. ~I'll see if I can add a new `CastKind`.~ `CastKind::Transmute` to the rescue! - [x] Implement a more helpful panic message like slice bounds checking. r? `@oli-obk`
2023-03-29Add ignore-debug to static-relocation-model testBen Kimock-0/+1
2023-03-10Ignore LVI incompatible assembly tests on sgx platformRaoul Strackx-0/+4
2023-03-10Fix LVI inline assembly testRaoul Strackx-13/+4
2023-03-10Fix LVI generic load testRaoul Strackx-1/+1
2023-02-10Update the minimum external LLVM to 14Josh Stone-1/+0
2023-01-17bump failing assembly & codegen tests from LLVM 14 to LLVM 15Lukas Markeffsky-1/+1
2023-01-11Change `src/test` to `tests` in source files, fix tidy and testsAlbert Larsan-1/+1
2023-01-11Move /src/test to /testsAlbert Larsan-0/+6608