about summary refs log tree commit diff
path: root/compiler/rustc_target/src/asm/x86.rs
AgeCommit message (Collapse)AuthorLines
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