about summary refs log tree commit diff
path: root/compiler/rustc_target/src/asm/riscv.rs
AgeCommit message (Collapse)AuthorLines
2023-03-01Use FxIndexSet instead of FxHashSet for asm_target_features query.Michael Woerister-2/+2
2022-07-20Remove unused StableMap and StableSet types from rustc_data_structuresMichael Woerister-1/+1
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/+2
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/+1
Previously these were entirely disallowed, except for r11 which was allowed by accident.
2022-01-17Pass target_features set instead of has_feature closurebjorn3-2/+3
This avoids unnecessary monomorphizations in codegen backends
2022-01-17Use Symbol for target features in asm handlingbjorn3-4/+5
This saves a couple of Symbol::intern calls
2021-07-10Add clobber-only register classes for asm!Amanieu d'Antras-0/+34
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-1/+2
2021-04-05Disallow the use of high byte registes as operands on x86_64Amanieu d'Antras-1/+0
They are still allowed on x86 though. Fixes #83495
2020-08-30mv compiler to compiler/mark-0/+147