We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d70724 commit 943dc2fCopy full SHA for 943dc2f
src/inline_asm.rs
@@ -51,6 +51,17 @@ pub(crate) fn codegen_inline_asm_terminator<'tcx>(
51
return;
52
}
53
54
+ if fx.tcx.sess.target.arch == "s390x"
55
+ && template.len() == 3
56
+ && template[0] == InlineAsmTemplatePiece::String("stfle 0(".into())
57
+ && let InlineAsmTemplatePiece::Placeholder { operand_idx: 0, modifier: None, span: _ } =
58
+ template[1]
59
+ && template[2] == InlineAsmTemplatePiece::String(")".into())
60
+ {
61
+ // FIXME no inline asm support for s390x yet, but stdarch needs it for feature detection
62
+ return;
63
+ }
64
+
65
let operands = operands
66
.iter()
67
.map(|operand| match *operand {
0 commit comments