Nope, sorry, should have mentioned. OSX is gcc 4.2.1 and Ubuntu is gcc 4.3.3
Type: Posts; User: Stachelsk
Nope, sorry, should have mentioned. OSX is gcc 4.2.1 and Ubuntu is gcc 4.3.3
I'm using -Wall -arch i386 -O2 for my compiler switches.
I think the problem is that for some reason, the gcc that ships with Snow Leopard is horrendous. I looked at the assembly code output from...
/*******************************************************************************
* Use this file to compare the amount of time it takes to run selection sort *
* code written in pure C to that...
Hi,
I recently learned a fair amount of inline assembly and decided to do a little test. I wrote a selection sort in C that sorts 100,000 integers. I then wrote a inline assembly version of the...