Add changes from Brian Johnson: - Update MIPSpro compiler flags - Only define static variables if they are to be used - Try to lock the pthreads mutex prior to unlocking/destroying it
Add configury for x86-64
Get rid of CPU_* defines as nobody actually used them and are useless
- CAN_JIT=yes has to be moved into the actual block containing JITSRCS. - Optimistically reenable gas/x86 assembly optimizations and JIT for FreeBSD as it used to work in the past there. If not, beat me.
Huh, am I still asleep? Actually use the cpuemuX_nf.cpp pattern rather than the *.s variant.
Drop cpuopti on x86 now that we have a fast JIT. I don't want to bother fixing cpuopti or workarounding code for any known and unknown gcc bug.
Ensure the IEEE fpu core is used when building the JIT compiler
Move -DSAHF_SETO_PROFITABLE down in x86 & gas specific block. Also ensure SAHF_SETO_PROFITABLE is defined when compiling the JIT. Aka I don't want to support obsolete and probably bogus code nowadays.
Define SAHF_SETO_PROFITABLE on x86, aka restore full performance of the JIT compiler. ;-) BTW, also fixes some valgrind warnings.
Additions for the JIT compiler (--enable-jit-compiler, --enable-jit-debug)
Check for for C99 math functions in the form *l()
Conditionalize use of pthread_mutexattr_setpshared() as this is an optional POSIX feature from _POSIX_THREAD_PROCESS_SHARED group. Besides, Ulrich Drepper mentions "the kernel support for this option wasn't available until 2.5.7. Future versions of the thread library will support this option." <http://people.redhat.com/drepper/posix-option-groups.html> BTW, this nukes a warning when build on FreeBSD 4.6
Portability fixes: use a switch to test for ac_cv_c_float_format
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.