about summary refs log tree commit diff
path: root/compiler/rustc_target/src/asm/mod.rs
diff options
context:
space:
mode:
authorConnor Horman <chorman64@gmail.com>2022-05-17 06:48:03 -0400
committerConnor Horman <chorman64@gmail.com>2022-05-17 06:48:03 -0400
commit6354bfc152bda60d737c10e331bf796b10950cfb (patch)
treee01b3fad6d7aeefdde62eaddf20ccc41242f26bc /compiler/rustc_target/src/asm/mod.rs
parent89ab77b3cbed9fbc2f54adcf68ddf31e91ad5272 (diff)
downloadrust-6354bfc152bda60d737c10e331bf796b10950cfb.tar.gz
rust-6354bfc152bda60d737c10e331bf796b10950cfb.zip
Add ABI clobbers
Diffstat (limited to 'compiler/rustc_target/src/asm/mod.rs')
-rw-r--r--compiler/rustc_target/src/asm/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_target/src/asm/mod.rs b/compiler/rustc_target/src/asm/mod.rs
index 6bc807c7c44..df8ccc42a77 100644
--- a/compiler/rustc_target/src/asm/mod.rs
+++ b/compiler/rustc_target/src/asm/mod.rs
@@ -912,6 +912,7 @@ impl InlineAsmClobberAbi {
 
                     mm0, mm1, mm2, mm3, mm4, mm5, mm6, mm7,
                     st0, st1, st2, st3, st4, st5, st6, st7,
+                    tmm0, tmm1, tmm2, tmm3, tmm4, tmm5, tmm6, tmm7,
                 }
             },
             InlineAsmClobberAbi::X86_64Win => clobbered_regs! {
@@ -931,6 +932,7 @@ impl InlineAsmClobberAbi {
 
                     mm0, mm1, mm2, mm3, mm4, mm5, mm6, mm7,
                     st0, st1, st2, st3, st4, st5, st6, st7,
+                    tmm0, tmm1, tmm2, tmm3, tmm4, tmm5, tmm6, tmm7,
                 }
             },
             InlineAsmClobberAbi::AArch64 => clobbered_regs! {