|
Prev: How many branches in a loop can be predicted successfully ?
Next: Wanna do a WriteLongwordBits contest ?
From: ilya on 7 May 2008 00:52 On May 4, 9:54 am, "Skybuck Flying" <BloodySh...(a)hotmail.com> wrote: > Hello, > > Suppose I write x86 code like so: > > bt eax, 0 > adc [edx], 0 > > bt eax, 1 > adc [edx + 4], 0 > > bt eax, 2 > adc [edx + 8], 0 > > Bye, I think you can forget about flags. According to Agner Fog and his "instruction_tables" on PentiumM the 2 instruction will not be executed at the same time, and will take 2uop. On Core2 arch they will be executed t the same time but still take 2uops. Specify your CPUs people if you wanna talk about speed.
First
|
Prev
|
Pages: 1 2 Prev: How many branches in a loop can be predicted successfully ? Next: Wanna do a WriteLongwordBits contest ? |