Basilisk II and SheepShaver Macintosh emulators
Go to file
gbeauche 294664b726 Fix SAHF_SETO_PROFITABLE code for x86-64 platforms.
This was only an experiment. Improvement was marginal: only +3% on AMD64
(an Athlon 64 3200+). However, it may be interesting to test it on EM64T
(e.g. newer P4s) since an older P3/800, hence in 32-bit mode, got a +15%
improvement in Speedometer 4 benchmarks.

Rationale: lahf/seto sequences avoid load/stores to the stack (push/pop)
and it was thus hoped to be faster.

Anyhow, SAHF_SETO_PROFITABLE can only be enabled manually at this time.
Edit your generated Makefile for testing, but first make sure your CPU
supports lahf in 64-bit mode (lahf_lm flag in /proc/cpuinfo).
2006-02-06 23:06:54 +00:00
BasiliskII Fix SAHF_SETO_PROFITABLE code for x86-64 platforms. 2006-02-06 23:06:54 +00:00
CVSROOT initial checkin 1999-10-03 14:16:16 +00:00
SheepShaver Copy constants to 32-bit addressable data pool. This fixes -pie builds on 2006-01-28 22:03:31 +00:00