[llvm] MC: X86 intel syntax: Support data32 and data16 better (PR #156287)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 1 14:18:49 PDT 2025
================
@@ -0,0 +1,28 @@
+// RUN: llvm-mc -triple i386-unknown-unknown --x86-asm-syntax=intel --show-encoding %s | FileCheck %s
+
+// CHECK: encoding: [0x66,0x6a,0x08]
+ data16 push 8
----------------
MaskRay wrote:
Is this intended?
GNU Assembler rejects `data16 push 8` outside of `.code16` region.
https://github.com/llvm/llvm-project/pull/156287
More information about the llvm-commits
mailing list