llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.31k stars 11.69k forks source link

[inline asm] TYPE operator support #30601

Open llvmbot opened 7 years ago

llvmbot commented 7 years ago
Bugzilla Link 31253
Version unspecified
OS All
Reporter LLVM Bugzilla Contributor

Extended Description

There is no support for the TYPE operator. The operator defined in here by microsoft: https://msdn.microsoft.com/en-us/library/wxh0awwe.aspx

(compile with -fasm-blocks for the microsoft syntax) void main(){ __asm movq mm1, XMMWORD PTR [eax + TYPE int] }

clang doesn't know this operator.

llvmbot commented 7 years ago

A little correction: XMMWORD -> QWORD

i.e.

void main(){ __asm movq mm1, QWORD PTR [eax + TYPE int] }

llvmbot commented 3 months ago

@llvm/issue-subscribers-backend-x86

Author: None (llvmbot)

| | | | --- | --- | | Bugzilla Link | [31253](https://llvm.org/bz31253) | | Version | unspecified | | OS | All | | Reporter | LLVM Bugzilla Contributor | ## Extended Description There is no support for the TYPE operator. The operator defined in here by microsoft: https://msdn.microsoft.com/en-us/library/wxh0awwe.aspx (compile with -fasm-blocks for the microsoft syntax) void main(){ __asm movq mm1, XMMWORD PTR [eax + TYPE int] } clang doesn't know this operator.