about summary refs log tree commit diff
path: root/compiler/rustc_target/src/asm/x86.rs
AgeCommit message (Collapse)AuthorLines
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+5
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2024-06-13Add `f16` and `f128` inline ASM support for `x86` and `x86-64`beetrees-11/+11
2024-04-29Remove `extern crate rustc_macros` from numerous crates.Nicholas Nethercote-1/+0
2024-03-03Mention Register Size in `#[warn(asm_sub_register)]`Veera-19/+15
Fixes #121593
2023-03-01Use FxIndexSet instead of FxHashSet for asm_target_features query.Michael Woerister-5/+5
2023-01-05Fix `uninlined_format_args` for some compiler cratesnils-15/+15
Convert all the crates that have had their diagnostic migration completed (except save_analysis because that will be deleted soon and apfloat because of the licensing problem).
2022-07-20Remove unused StableMap and StableSet types from rustc_data_structuresMichael Woerister-1/+1
2022-05-16Add tmm_reg clobbersConnor Horman-0/+13
2022-04-19asm: Add a kreg0 register class on x86 which includes k0Amanieu d'Antras-5/+6
Previously we only exposed a kreg register class which excludes the k0 register since it can't be used in many instructions. However k0 is a valid register and we need to have a way of marking it as clobbered for clobber_abi. Fixes #94977
2022-02-21Add testsAmanieu d'Antras-1/+1
2022-02-21On ARM, use relocation_model to detect whether r9 should be reservedAmanieu d'Antras-1/+5
The previous approach of checking for the reserve-r9 target feature didn't actually work because LLVM only sets this feature very late when initializing the per-function subtarget.
2022-02-18asm: Allow the use of r8-r14 as clobbers on Thumb1Amanieu d'Antras-0/+4
Previously these were entirely disallowed, except for r11 which was allowed by accident.
2022-01-17Pass target_features set instead of has_feature closurebjorn3-4/+5
This avoids unnecessary monomorphizations in codegen backends
2022-01-17Use Symbol for target features in asm handlingbjorn3-10/+11
This saves a couple of Symbol::intern calls
2021-07-10Add clobber-only register classes for asm!Amanieu d'Antras-4/+22
These are needed to properly express a function call ABI using a clobber list, even though we don't support passing actual values into/out of these registers.
2021-04-28Be stricter about rejecting LLVM reserved registers in asm!Amanieu d'Antras-2/+30
2021-04-05Disallow the use of high byte registes as operands on x86_64Amanieu d'Antras-6/+1
They are still allowed on x86 though. Fixes #83495
2020-08-30mv compiler to compiler/mark-0/+427