Search:

Type: Posts; User: Stachelsk

Search: Search took 0.00 seconds.

  1. Nope, sorry, should have mentioned. OSX is gcc...

    Nope, sorry, should have mentioned. OSX is gcc 4.2.1 and Ubuntu is gcc 4.3.3
  2. I'm using -Wall -arch i386 -O2 for my compiler...

    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...
  3. /*************************************************...

    /*******************************************************************************
    * Use this file to compare the amount of time it takes to run selection sort *
    * code written in pure C to that...
  4. I can't figure out why this C code is running so slow...

    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...
Results 1 to 4 of 4