This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
a question about MMX instruction
- From: "Huimin Cui" <cuihm at soft dot cs dot tsinghua dot edu dot cn>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Fri, 11 Apr 2003 10:31:22 +0800
- Subject: a question about MMX instruction
- Reply-to: <cuihm at soft dot cs dot tsinghua dot edu dot cn>
Hi,
I've seen that in the file i386.md there exists some MMX insn templates. But it seems that it doesn't create mmx instructions at all.
And I heard that many multimedia programs need to be rewritten by hand to use the MMX instructions for optimization. If the compiler can generate MMX instructions, why do they write them by hand?
My gcc version is 3.2(and I have tried 2.96 and failed).
Can anyone give me some advice?Thanks for you all.