about performance and code design [8086+]

Programming, for all ages and all languages.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: about performance and code design [8086+]

Post by Combuster »

Still, if you want to assume a "modern" processor, you can relieve a bit of register pressure by offloading integer computations off to the MMX registers, and floats to the SSE registers. They can do less than vector instructions :wink:

This can of course be impractical in kernel space when you want to avoid the FPU or when you can not safely assume you have a P3 or better.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Post Reply