Welcome
Welcome to a320

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

How do I compile SIMD assembly?

Any and all A320 homebrew topics

Moderator: Moderators

How do I compile SIMD assembly?

Postby nonono on Mon May 11, 2009 4:13 am

Hello. I want to compile some SIMD assemby.
I'm using stuff taken out of that jz_mxu file:


__asm__ __volatile ("Q8MIN xr0,xr1,xr2"
);


build.bat simply tells me it doesn't recognize the opcode "Q8MIN xr0, xr1, xr2".
How do I assemble it? Do I need to include something?
nonono
 
Posts: 1
Joined: Mon May 11, 2009 4:10 am

Re: How do I compile SIMD assembly?

Postby Uukrul on Mon May 11, 2009 3:19 pm

Check out the mxu_user_guide.pdf:

Code: Select all
1) ??? MXU ????? C/C++???(?? mxu_test.c)?????????:                     
MXU ??????


mipsel-linux-gcc -O2 -S -o mxu_test.mid mxu_test.c

2) ? mxu_as ?? awk ??? mxu_test.mid ?? MXU ????????:

mxu_as mxu_test.mid > mxu_test.s

3. ? mxu_test.s ???????????????:

mipsel-linux-gcc -c -o mxu_test.o mxu_test.s

?? mxu_test.o ????????????????????????
Uukrul
 
Posts: 21
Joined: Sat Mar 14, 2009 6:22 pm


Return to Homebrew

Who is online

Users browsing this forum: nine10 and 2 guests