This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Any ideas on this problem?


Any ideas on this problem?

Postby DooMer_MP3 » Nov 21, 2003 @ 8:07am

DooMer_MP3
pm Member
 
Posts: 38
Joined: Mar 14, 2003 @ 8:57am
Location: Madison, WI, USA


Postby torus » Nov 21, 2003 @ 12:44pm

I don't have a clue what's going wrong, it looks ok.

But what you can do to find out yourself, is to turn your c-macro into a function, calcuate the result, calculate the same result using your asm-function and then compare the two values. If you have different results log the parameters into a file and exit the program.

That way you have a numerical example where one version fails, and can trace down what exactly what's going wrong.

Nils
User avatar
torus
pm Member
 
Posts: 58
Joined: Oct 24, 2003 @ 10:11am
Location: Germany


Postby DooMer_MP3 » Nov 21, 2003 @ 4:18pm

DooMer_MP3
pm Member
 
Posts: 38
Joined: Mar 14, 2003 @ 8:57am
Location: Madison, WI, USA


Postby torus » Nov 21, 2003 @ 4:41pm

User avatar
torus
pm Member
 
Posts: 58
Joined: Oct 24, 2003 @ 10:11am
Location: Germany


Postby DooMer_MP3 » Nov 21, 2003 @ 5:06pm

DooMer_MP3
pm Member
 
Posts: 38
Joined: Mar 14, 2003 @ 8:57am
Location: Madison, WI, USA


Postby rcp » Nov 21, 2003 @ 5:31pm

User avatar
rcp
pm Member
 
Posts: 184
Joined: Jul 18, 2003 @ 2:12am
Location: Duluth, GA. (Southeast US)


Postby DooMer_MP3 » Nov 21, 2003 @ 9:01pm

DooMer_MP3
pm Member
 
Posts: 38
Joined: Mar 14, 2003 @ 8:57am
Location: Madison, WI, USA


Postby refractor » Nov 21, 2003 @ 9:18pm

You do a signed long multiply and then a logical shift right... clue?

(Might not be - I'm tired).
User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Postby rcp » Nov 21, 2003 @ 9:22pm

User avatar
rcp
pm Member
 
Posts: 184
Joined: Jul 18, 2003 @ 2:12am
Location: Duluth, GA. (Southeast US)


Postby DooMer_MP3 » Nov 21, 2003 @ 10:45pm

DooMer_MP3
pm Member
 
Posts: 38
Joined: Mar 14, 2003 @ 8:57am
Location: Madison, WI, USA


Postby refractor » Nov 21, 2003 @ 11:11pm

User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum