First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
hla set up for the art of assembly
ronaldsorrell2005(a)yahoo.com wrote: On Jun 12, 1:24�pm, Frank Kotler <fbkot...(a)verizon.net> wrote: ronaldsorrell2...(a)yahoo.com wrote: hey every one, i am new to this program and to programing i am having problems getting the hla to work. in the command window i have: C: \hla> hla -v hw.hla , a... 3 Jul 2008 01:15
How many branches in a loop can be predicted successfully ?
Hello, Suppose I have code like so: Condition1 := True or False; // determined here Condition2 := True or False; // determined here Condition3 := True or False; // determined here for Y := 0 to Height-1 do begin for X := 0 to Width-1 do begin // ... inner loop ... if Conditio... 6 May 2008 23:24
Interview with Qbix on DOSBox online
This interview with "Qbix" goes into more depth on how DOSBox works: http://www.classicdosgames.com/interviews/peterveenstra.html As I've mentioned previously, DOSBox with SDL could be used as an OS: http://groups.google.com/group/alt.os.development/msg/fec484c7a0c0b4af With modifications, it could be use... 7 May 2008 13:24
AMD X2 3800+ processor has bottleneck in integer multiplier ?
Hello, I noticed how one of my applications performed an insane ammount of 32 bit multiplies, and at the same time the app was kinda slow. Now that I am reading the AMD documentation again it says something like: Multiplier on AMD processor is attached to pipeline 0, and such. So to me it looks like this ... 6 May 2008 23:24
Wanna do a WriteLongwordBits contest ? (Skybuck's Fiveth Entry: Better Lightning Fast A1B1) Algorithm included.
Hello, Skybuck's Super Fast WriteBits Algorithm (32 bits): Assumptions: Buffer is cleared. Trailing garbage bits in buffer not a problem. Buffer is large enough. Value bits: Initial Value pointer | | Secondary Value pointer | | | | 01234567 89012345 67890123 45678901 ???????? ... 6 May 2008 23:24
Wanna do a WriteLongwordBits contest ? (Skybuck's SimInt64 C/C++ version)
Ok, I ported my simulated-int64-Delphi-2007-version to Visual Studio 2008, to compare assembler outputs, Here is the Visual Studio 2008 C/C++ version and it's output: // *** Begin of C/C++ Code *** #include <stdio.h> #include <windows.h> /* Skybuck's WriteLongword (simulated int64 version) ported t... 6 May 2008 23:24
Wanna do a WriteLongwordBits contest ? (Skybuck's Third Entry)
Ok, This version 2 uses 85 instructions. Still 2 more instructions than the simulated-int64 version ;) // Optimizations applied: // + KeepLowBits function inlined. // + Variables reduced by re-using stack space via absolute directive // Instructions re-ordered to make that possible. // + DestBitIndex shr ... 6 May 2008 22:20
Wanna do a WriteLongwordBits contest ? (Skybuck's Second Entry)
Hello, Here is my second entry for the contest. I was hoping that by using assembler instructions, the instruction count could be reduced. But the opposite has happened. This version is even worse: 105 instructions ! And it's using slower instructions too, like shld and a branch ! However the kee... 6 May 2008 22:20
Skybuck presents ShiftLeft( Left, Right, Shift ) and ShiftRight( Right, Left, Shift )
Hello, I think these two functions will come in very handy to solving the "write longword bits" problem. ShiftLeft( Left, Right, Shift ) ShiftRight( Right, Left, Shift ) Shifting with extra inputs is what is required to solve it nicely. // Begin of Code *** program Project1; {$APPTYPE CONSOLE} {... 6 May 2008 22:20
Wanna do a WriteLongwordBits contest ? (Skybuck's Fourth Entry: Lightning Fast A1B1)
Ok, I wasn't statisfied with all the slow routines. I probably need something faster. Maybe if I clear the buffer up front and then simply place everything sequentially it will go faster and fast enough for my purposes. Actually this is all I really need at the moment. But if I do need something special... 6 May 2008 22:20
First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17