* Problem/doubt in using mmx library in gcc3.2
@ 2003-02-13 5:00 Ulrich Prakash
0 siblings, 0 replies; only message in thread
From: Ulrich Prakash @ 2003-02-13 5:00 UTC (permalink / raw)
To: gcc-help
Hi,
I have downloaded and installed gcc version3.2,as this version supports MMX
instructions.
To check if MMX supported,i tried to run mmx_ok function.This is given in
the below link:
www.n.ethz.ch/student/ivos/download/functions
This is the test program that i used.
#include <asm/mmx.h>
int main()
{
printf("mmx result %d\n", mmx_ok());
}
BUT i got the following link error.
[vdsp@voicedsp vdsp]$ xgcc test.c
/tmp/ccEZSFBj.o: In function `main':
/tmp/ccEZSFBj.o(.text+0x11): undefined reference to `mmx_ok'
collect2: ld returned 1 exit status
I want to use the MMX apis in gcc,especially PMADDWD instuction.
As i first step, i tried the above program which failed.
Please help me in this regard.
Thanks,
**************************************************
M. ULRICH PRAKASH
Networking Technologies Lab,
HCL Technologies Ltd.,
Chennai.
*********************************************************
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-02-13 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-13 5:00 Problem/doubt in using mmx library in gcc3.2 Ulrich Prakash
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).