Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X86 backend doesn't support MMX #1594

Closed
lattner opened this issue Feb 25, 2007 · 5 comments
Closed

X86 backend doesn't support MMX #1594

lattner opened this issue Feb 25, 2007 · 5 comments
Assignees
Labels
backend:X86 bugzilla Issues migrated from bugzilla enhancement Improving things as opposed to bug fixing, e.g. new or missing feature

Comments

@lattner
Copy link
Collaborator

lattner commented Feb 25, 2007

Bugzilla Link 1222
Resolution FIXED
Resolved on Aug 19, 2007 21:09
Version 1.0
OS All
Depends On llvm/llvm-bugzilla-archive#1260

Extended Description

The X86 backend currently has no support for MMX registers. This can be seen when using MMX
intrinsic or when using MMX inline asm. Here's an example that uses inline asm:

void foo() {
const int Aligned64data_last_mult = 4;
asm {
movd mm1, [-1][eax][esi]
movd mm0, [-1][eax]
movd mm2, [-1][eax][esi2]
movq [edi][Aligned64data_last_mult], mm0
lea eax, [esi][ecx
2]
movd mm4, [esi]
movd mm5, [esi][ecx]
movd [-4][edi], mm3
}
}

llvm-gcc -fasm-blocks -msse3 should successfully compile this, but doesn't due to lack of support
for mmx registers.

-Chris

@lattner
Copy link
Collaborator Author

lattner commented Feb 25, 2007

assigned to @isanbard

@isanbard
Copy link
Contributor

isanbard commented Mar 5, 2007

I'm giving the whole MMX thing a shot.

-bw

@isanbard
Copy link
Contributor

We support MMX now. However, we still need to make asm blocks work.

-bw

@lattner
Copy link
Collaborator Author

lattner commented Aug 20, 2007

Bill implemented MMX, and this patch fixes microsoft-style asm blocks with mmx:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070813/052983.html

-Chris

@lattner
Copy link
Collaborator Author

lattner commented Nov 26, 2021

mentioned in issue llvm/llvm-bugzilla-archive#1260

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
@Endilll Endilll added enhancement Improving things as opposed to bug fixing, e.g. new or missing feature and removed missing-feature labels Aug 15, 2023
troelsbjerre pushed a commit to troelsbjerre/llvm-project that referenced this issue Jan 10, 2024
…d2157c9d3d46d9ad7f25

[lldb/Test] Add missing stdio.h includes
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:X86 bugzilla Issues migrated from bugzilla enhancement Improving things as opposed to bug fixing, e.g. new or missing feature
Projects
None yet
Development

No branches or pull requests

3 participants