That was probably my mistake when I was refactoring the DIST calculations.. Doh! Classic cut and paste error!
Good catch and thanks!
Scorp, I tried to use the inline asm, but the implementation doesnt work well with gcc/gas. I'll see if I can convert it over, but I stopped worrying about it when I eliminated 99.99% of the dist calls in the 1st place... (did a precheck before calling the dist function so its only called when its needed) At this point, converting it too assembly might be an overcomplication with minimal performance gains, not that I dont appreciate the work necessary to generate it.
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
|