Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Execution Speed is Deprecated, Use Python!

Name: Anonymous 2012-11-29 0:16

Developer time is the most valuable resource. Writing in Python may cause slower code, but it is in reality much more efficient because you will get an exponential amount of more work done!

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2012-12-04 6:23

>>55
I think you're confusing the bitness of the instruction with that of the operands. I was referring to add instructions that are 32-bit, but which do not carry between bit 15 and 16, e.g.

add eax, 1 with eax=00000000 completes in 1 cycle
add eax, 1 with eax=0000FFFF takes 2 cycles
add eax, 65535 with eax=00000001 also takes 2 cycles

They probably thought "why wait for an add that's done already", and it would make sense for things like loop counters, but then again the single-byte inc r/dec r on the P4 seems to always act as if the carry was needed. Compared to the ones before and after, the P4 microarchitecture was just weird.

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2012-12-04 6:40

...and AMD remains roughly 3 years behind in terms of IPC.
http://media.bestofmicro.com/I/O/298752/original/overall.png
(Would've liked to see some of AMD's CPUs from 2005 there. The P4 really sucks in that comparison but everything else was at least 2 years newer.)

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List