News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Code alignment test

Started by hutch--, April 28, 2006, 11:21:42 AM

Previous topic - Next topic

asmfan

I think task switching plays its role... time to time;)
Russia is a weird place

Mark Jones

Oooh, just thought of a cool idea. Make a browser plugin which adds a new right-click command to selected text: Assemble Text. :) That would make testing stuff here very fast and easy.
"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

PBrennick

Mark,
It seems we two are always in concert, you come up the an idea and I expound on it.  We ought to at least 'date'.  :bg

Anyway, an easier way to do what you are thinking about (a very good idea, BTW) is to use WBrowser and just code it into the source which is available.

Paul
The GeneSys Project is available from:
The Repository or My crappy website

Human

well alignment on new cpus isnt possible, i know it by testing by jpg decompressor on my xp1700+
i optimize code remove few instructions and its slower due align of rest changed. i tried to force some places with adding align but it doesnt help in most cases. its like random. also with testing loops you should always skip 1st, due there is too big difference, code isnt cached yet and its big slowdown, counting time and ticks from second gives more stable results. offcourse to test we need realtime priority kill all other task and console has to be fullscreen in text mode, ticks and ms are lower. and also stable, due windows takes too much time to render text on screen.

PBrennick

Human,
I think you may be right 'and' wrong.  Remember, please, that if you optimize the code and then remove a few instructions?

Paul
The GeneSys Project is available from:
The Repository or My crappy website

Mark Jones

Sorry Paul, but I'm already taken. :toothy
"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

zooba

Quote from: Mark Jones on April 29, 2006, 04:36:02 PM
Oooh, just thought of a cool idea. Make a browser plugin which adds a new right-click command to selected text: Assemble Text. :) That would make testing stuff here very fast and easy.

It's quite easy to do, as long at Javascript/VBScript settings will let you access the file system. You make an HTML file with a script in it, place a registry key in HKCU\Software\Microsoft\Internet Explorer\MenuExt\<plugin name here> and set the default to the HTML file.

If I get a chance I might have a play with it :U

Cheers,

Zooba

GregL

PIII 1GHz
XP Pro SP2

1202 misaligned
1201 aligned
1202 misaligned
1202 aligned
1201 misaligned
801 aligned
801 misaligned
801 aligned
1202 misaligned
1201 aligned
1202 misaligned
1202 aligned
1202 misaligned
801 aligned
801 misaligned
801 aligned
-----------------------------
1101 misaligned average
1001 aligned average
-----------------------------


P1

Quote from: Mark Jones on April 29, 2006, 04:36:02 PM
Oooh, just thought of a cool idea. Make a browser plugin which adds a new right-click command to selected text: Assemble Text. :) That would make testing stuff here very fast and easy.
That would be great, but I have not seen, code here complete enough, for that to be useful.

Regards,  P1  :8)