LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 1260 - Need MMX support for Qt operations
Summary: Need MMX support for Qt operations
Status: RESOLVED FIXED
Alias: None
Product: libraries
Classification: Unclassified
Component: Backend: X86 (show other bugs)
Version: 1.0
Hardware: All All
: P normal
Assignee: Unassigned LLVM Bugs
URL:
Keywords: new-feature
Depends on:
Blocks: 1222
  Show dependency tree
 
Reported: 2007-03-18 16:59 PDT by Chris Lattner
Modified: 2010-02-22 12:41 PST (History)
4 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Lattner 2007-03-18 16:59:28 PDT
We should at least support enough MMX to build Qt with MMX intrinsics enabled.  Here is a testcase to get 
started:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2007-March/008196.html

-Chris
Comment 2 Bill Wendling 2007-03-23 17:38:45 PDT
Now get this error:

Assertion failed: (0 && "Don't support illegal by-val vector arguments yet!"), function LowerArguments, 
file /Volumes/Gir/devel/llvm/llvm.src/lib/CodeGen\
/SelectionDAG/SelectionDAGISel.cpp, line 3158.
mmx-3.cpp:157: internal compiler error: Abort trap
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs> for instructions.

.abort

-bw
Comment 3 Anton Korobeynikov 2007-03-23 18:21:22 PDT
Assertion was caused by:

define void @main() {
entry:
        %tmp1314.2 = tail call <8 x i8> @llvm.x86.mmx.packuswb( <4 x i16>
zeroinitializer, 
                                                                <4 x i16>
bitcast (i64 0 to <4 x i16>) )
        ret void
}

declare <8 x i8> @llvm.x86.mmx.packuswb(<4 x i16>, <4 x i16>)



Comment 4 Chris Lattner 2007-03-23 20:45:14 PDT
Interesting: this looks related to Bug 1172.  I can make this constant fold to a zero vector, but I don't 
know if that will fix the original problem or just the reduced testcase.
Comment 5 Bill Wendling 2007-04-24 16:31:52 PDT
We support MMX now. Try it out!