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
The bt (bit test) instruction sets the carry flag if the bit position is
set, otherwise the carry flag is cleared.
The adc instruction adds the carry flag.
Then this instruction pair is repeated multiple times as shown above.
(Slightly altered by an offset: +4, +8, etc)
I read about how cpu's can execute multiple integer instructions at the
same
time, which makes me wonder.
Do cpu's nowadays have multiple carry flags underneath ? I would think
so...
otherwise how can they possible execute multiple integer instructions ?
So my question is:
Can the instructions above be executed in parallel/at the same time ?
Bye,
Skybuck.


|