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

PocketQuake FPM?


PocketQuake FPM?

Postby Robotbeat » Mar 28, 2002 @ 11:16pm

How is PocketQuake's source organized as far as floating point math? It seems that my fpm optimizations in FloatingPointMath.c don't matter at all (to the emulator), even if I comment out both my optimization and the original function! Help me, I only need guidance so that I can know what to optimize!

Dan, could you just explain the source and what we should work on, especially in relation to floating point math?
Die, Palm, Die. If that offended you, then get rid of your Palm OS device.
User avatar
Robotbeat
pm Member
 
Posts: 827
Joined: Jan 28, 2001 @ 4:52pm
Location: In your mind...


Postby Robotbeat » Mar 29, 2002 @ 12:11am

I basically programmed a way to find the fixed-point square root of a fixed point number using only multiplication and like addition stuff (no division or floating point anything!). This code would be simple to convert to ARM asm (I looked at the asm and it seems simple to do this stuff). I don't think that my conversions matter, though, because I don't know how PQ's source is set up to handle deciding whether or not to do fixed point. I really need to speak with someone who has helped with PocketQuake in order to figure this out...
Die, Palm, Die. If that offended you, then get rid of your Palm OS device.
User avatar
Robotbeat
pm Member
 
Posts: 827
Joined: Jan 28, 2001 @ 4:52pm
Location: In your mind...


Postby Robotbeat » Mar 29, 2002 @ 12:20am

Die, Palm, Die. If that offended you, then get rid of your Palm OS device.
User avatar
Robotbeat
pm Member
 
Posts: 827
Joined: Jan 28, 2001 @ 4:52pm
Location: In your mind...


Postby Robotbeat » Mar 29, 2002 @ 12:28am

Die, Palm, Die. If that offended you, then get rid of your Palm OS device.
User avatar
Robotbeat
pm Member
 
Posts: 827
Joined: Jan 28, 2001 @ 4:52pm
Location: In your mind...


Postby Robotbeat » Mar 29, 2002 @ 12:34am

Die, Palm, Die. If that offended you, then get rid of your Palm OS device.
User avatar
Robotbeat
pm Member
 
Posts: 827
Joined: Jan 28, 2001 @ 4:52pm
Location: In your mind...


Postby suchiaruzu » Mar 29, 2002 @ 12:43am

<div align="center">Image<br></div>
User avatar
suchiaruzu
pm Insider
 
Posts: 2570
Joined: May 3, 2001 @ 9:29am
Location: BFE


Postby Robotbeat » Mar 29, 2002 @ 1:07am

Die, Palm, Die. If that offended you, then get rid of your Palm OS device.
User avatar
Robotbeat
pm Member
 
Posts: 827
Joined: Jan 28, 2001 @ 4:52pm
Location: In your mind...


Postby suchiaruzu » Mar 29, 2002 @ 1:15am

<div align="center">Image<br></div>
User avatar
suchiaruzu
pm Insider
 
Posts: 2570
Joined: May 3, 2001 @ 9:29am
Location: BFE


Postby Robotbeat » Mar 29, 2002 @ 5:26am

not really. if you write it in asm and stuff, you could get it more efficient and probably also reduce the size of the executable.

Another thing, they do call this the General Developer Discussion for a reason...
Die, Palm, Die. If that offended you, then get rid of your Palm OS device.
User avatar
Robotbeat
pm Member
 
Posts: 827
Joined: Jan 28, 2001 @ 4:52pm
Location: In your mind...


Postby Dan East » Mar 29, 2002 @ 6:53am

None of the routines in FloatingPointMath.c are actually used. All the current conversions are in-place substitutions.

Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby Mirek Czerwinski at uni » Mar 29, 2002 @ 11:36am

robotbeat:as far as I understood you have tested your fixedpoint math routines under the emulator, right?
well if you do so, it might get slower, because PC do have a fast FPU and therefore fixedpoint math stuff will often work SLOWER on PC. To see the performace difference you have to test your code on a real device.
hope it hepls.
Mirek Czerwinski at uni
 


Postby James S » Mar 29, 2002 @ 3:48pm

<img src="http://home.comcast.net/~sonne/james/tag.gif">
James S
pm Insider
 
Posts: 17064
Joined: Jan 12, 2002 @ 2:33pm
Location: Lexington, KY


Postby Robotbeat » Mar 29, 2002 @ 4:53pm

Die, Palm, Die. If that offended you, then get rid of your Palm OS device.
User avatar
Robotbeat
pm Member
 
Posts: 827
Joined: Jan 28, 2001 @ 4:52pm
Location: In your mind...


Postby Robotbeat » Mar 29, 2002 @ 4:58pm

Die, Palm, Die. If that offended you, then get rid of your Palm OS device.
User avatar
Robotbeat
pm Member
 
Posts: 827
Joined: Jan 28, 2001 @ 4:52pm
Location: In your mind...


Postby Digby » Mar 29, 2002 @ 5:09pm

Maybe this thread is better suited for the PocketQuake forum?
Digby
pm Insider
 
Posts: 1011
Joined: Apr 29, 2001 @ 1:53pm


Next

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

cron