Re: CodeWarrior-style inline assembly help...
Re: CodeWarrior-style inline assembly help...
- Subject: Re: CodeWarrior-style inline assembly help...
- From: Dave Thorup <email@hidden>
- Date: Thu, 4 Aug 2005 17:00:43 -0400
On Aug 4, 2005, at 3:25 PM, Jeremy Sagan wrote:
This looks like you should be using high level and not assembler.
Try this
register double foo1, foo2, foo3;
foo1 = _usm_constants[0];
foo2 = _usm_constants[1];
foo3 = _usm_constants[2];
then if you need to manipulate those values in assembler, instead
of using explicit register like fp3 use foo2.
This seems to have worked, but now I get the following error:
Command /usr/bin/gcc-4.0 failed with exit code 1
This is what shows up in the top part of the build window, but if I
look in the raw output of the build transcript I see the following
(shortened):
398:Parameter syntax error (parameter 3)
502:Parameter syntax error (parameter 2)
1781:Parameter syntax error (parameter 1)
There are actually 227 of these, but only one error shows up (the one
above) in the build window. Does this mean that I'm going to have to
try to correct each one of these errors? Should I just give up
trying to get GCC to build my assembly?
None of these look like errors. Here are the three lines
corresponding to the above errors:
398: lwz r3,-4(SP)
502: lwz r4, s_ulWork
1781: vspltish vreg_vMaskFirst, 1
Thanks!
_____________________________
Dave Thorup
Software Engineer
email@hidden
http://www.kuwan.net
Defaults Manager - The premier editor for Mac OS X's User Defaults /
Preferences database.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden