Finally: Mac Intel patches

Joel Reymont joelr1@REDACTED
Thu Aug 24 16:37:05 CEST 2006


On Aug 24, 2006, at 3:23 PM, Mikael Pettersson wrote:

> I see. Mea culpa. I've extracted fpe-test.c from erts/configure
> and put it in the HiPE snapshot directory. You should download it
> and try to compile and run it. How does it fail? With a compile-time
> error or a runtime failure?

The easiest way out of this is to assume DARWIN + i386 will always  
have SSE2 ;-).

gcc fpe-test.c -o foo
fpe-test.c: In function 'cpuid_edx':
fpe-test.c:70: error: PIC register 'bx' clobbered in 'asm'
fpe-test.c: In function 'cpuid_eax':
fpe-test.c:60: error: PIC register 'bx' clobbered in 'asm'

--
http://wagerlabs.com/








More information about the erlang-questions mailing list