Dylan DPC
69e45d73b9
Rollup merge of #95740 - Amanieu:kreg0, r=nagisa
...
asm: Add a kreg0 register class on x86 which includes k0
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-04-19 22:57:39 +02:00
Amanieu d'Antras
b2bc46938c
asm: Add a kreg0 register class on x86 which includes k0
...
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-04-19 17:14:23 +02:00
Amanieu d'Antras
547405e801
Add codegen for global_asm! sym operands
2022-04-15 14:36:30 +01:00
William D. Jones
19809ed76d
Add preliminary support for inline assembly for msp430.
2022-01-22 23:42:46 -05:00
bjorn3
991cbd1503
Use Symbol for target features in asm handling
...
This saves a couple of Symbol::intern calls
2022-01-17 18:06:27 +01:00
Tomasz Miąsko
000b36c505
Remove deprecated LLVM-style inline assembly
2022-01-12 18:51:31 +01:00
bjorn3
b799d6e0a5
Merge commit '1411a98352ba6bee8ba3b0131c9243e5db1e6a2e' into sync_cg_clif-2021-12-31
2021-12-31 16:26:32 +01:00
Amanieu d'Antras
908f300dd7
Remove the reg_thumb register class for asm! on ARM
...
Also restricts r8-r14 from being used on Thumb1 targets as per #90736 .
2021-12-07 23:54:09 +00:00
Andrew Dona-Couch
c6e8ae1a6c
Implement inline asm! for AVR platform
2021-12-06 01:02:49 -05:00
cynecx
021a8d80eb
rustc_codegen_gcc: proper check for may_unwind
2021-12-03 23:51:49 +01:00
cynecx
059d3b3f34
rustc_codegen_gcc: error on unwinding inline asm
2021-12-03 23:51:49 +01:00
Yuki Okushi
12647eab79
Properly check target_features
not to trigger an assertion
2021-10-26 11:02:51 +09:00
Antoni Boucher
7f32dd546f
Merge commit '9809f5d21990d9e24b3e9876ea7da756fd4e9def' into libgccjit-codegen
2021-09-28 09:19:11 -04:00
Antoni Boucher
df487317d0
Merge commit '48d60ab7c505c6c1ebb042eacaafd8dc9f7a9267' into libgccjit-codegen
2021-09-17 17:52:40 -04:00
Antoni Boucher
3d5d4e324d
Merge commit 'e228f0c16ea8c34794a6285bf57aab627c26b147' into libgccjit-codegen
2021-08-15 08:29:07 -04:00
Antoni Boucher
f7237f16ae
Add 'compiler/rustc_codegen_gcc/' from commit 'afae271d5d3719eeb92c18bc004bb6d1965a5f3f'
...
git-subtree-dir: compiler/rustc_codegen_gcc
git-subtree-mainline: ae90dcf020
git-subtree-split: afae271d5d
2021-08-12 21:53:49 -04:00