Re: Compiler vs. machine issue



I had same kind of problem yesterday: I usually work on my laptop (Win XP
home P4 3GHZ) and compile there my exe. Yesterday when i tried to run such
exe on my home computer (same O.S. but Athlon 1.5 GHZ cpu) a thread that I
use in the program didn't work correctly. I suspected something with cpu as
it is the only difference betwen computers. So I tried to compile the same
program (with same compile settings) on my home computer and magically it
worked. Now I definitely solved the problem changing some parameters in the
thread that make it faster or slower etc..


.



Relevant Pages

  • Re: [PATCH] 2.6 workaround for Athlon/Opteron prefetch errata
    ... >optimisations independently of each other', is fairly simple, (in ... >concept), and elegant, (as it lets you compile the most finely tuned ... >Up to now, selecting a CPU to compile for basically means, "Use ... it's silly to include them all in a kernel for a 386. ...
    (Linux-Kernel)
  • Re: Packet loss with traffic shaper and routing
    ... I did that and compiled the kernel. ... #error DEVICE_POLLING is not compatible with SMP ... It should compile with both SMP and POLLING. ... There is no other major services in this machine, cpu utilization is ...
    (freebsd-net)
  • Re: Compiling for a different architecture?
    ... > This is starting to sound like the NetBSD supported architecture ... one "/usr/src", then compile for different CPU (PII, PIII, i586). ...
    (comp.unix.bsd.freebsd.misc)
  • Re: How to create a library that detects the processor and uses SIMD instructions as necessary
    ... at compile-time, and compile the correct functions into the executable. ... completely seperate executables, and call the correct one at run-time. ... branch on all affected functions such that a CPU detect function is run ... once and the most optimized libraries selected, ...
    (comp.lang.asm.x86)
  • Re: FreeBSD 5.1-R kernel panic
    ... Doing a ps -auxw shows that usb0 is using the vast majority of the CPU ... to compile a new kernel that does not have the USB stuff compiled in, ... > I'm running FreeBSD 5.1-RELEASE with the SMP kernel and ran across the ...
    (freebsd-current)