[llvm] MC: X86 intel syntax: Support data32 and data16 better (PR #156287)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 24 07:16:09 PDT 2025


================
@@ -0,0 +1,13 @@
+// RUN: llvm-mc -triple i386-unknown-unknown-code16 --x86-asm-syntax=intel --show-encoding %s | FileCheck %s
+
+// CHECK: pushl $8
----------------
phoebewang wrote:

I'm not sure adding suffix for Intel syntax is the right way. Seems binutils doesn't generate code correctly either: https://godbolt.org/z/dsnx74s69

https://github.com/llvm/llvm-project/pull/156287


More information about the llvm-commits mailing list