On Sun, 08 Jan 2006 17:21:20 -0700 Tres Melton <[EMAIL PROTECTED]> babbled:

> On Mon, 2006-01-09 at 01:39 +0900, Carsten Haitzler wrote:
> 
> > now...it doesnt build at all/ first try:
> > 
> > 86_64=301 -DETERM_SIMD_UNKNOWN=1 -DETERM_SIMD_MMX=201
> > -DETERM_SIMD_MMX_PLUS=202 -DETERM_SIMD_SSE=301 -DETERM_SIMD_SSE2=302
> > -DETERM_SIMD_SSE3=303 -DETERM_ARCH=ET ERM_ARCH_x86_64
> > -DETERM_SIMD=ETERM_SIMD_SSE2 -DETERM_ALIGNMENT=16 -c sse2_cmod.c -o
> > sse2_cmod.o sse2_cmod.c: In function ‘shade_ximage_15_x86_64_sse2_U’:
> > sse2_cmod.c:99: Error: error: can't find a register in class ‘GENERAL_REGS’
> > whil e reloading ‘asm’
> > make: *** [sse2_cmod.o] Error 1
> 
> There are less registers available on a x86 than a x86-64 chip.  This
> has been accounted for in the shade_ximage_16_x86_sse_A functions and
> the like.

oh man i feel stupid. thats so friggin obvious (i was compiling on my p4) and i
didnt see it. i shall now kick myself repeatedly for a while. :)

> > something is weird here... grrr
> 
> I assume you have a 32 bit computer.  (I should have said this at the
> top of my last email)  Because this code needs to be adjustable and is
> not going to be distributable on its own it's build system is stupid.
> In Makefile (line ~73) try uncommenting the following lines:
> 
> CFLAGS += -DETERM_ARCH=ETERM_ARCH_x86
> CFLAGS += -DETERM_SIMD=ETERM_SIMD_SSE2
> CFLAGS += -DETERM_ALIGNMENT=16
> 
> The aligned stuff can be dis/enable in cmod.h with:
> #define SIMD_USE_ALIGNED        0
> 
> 
> -- 
> Tres Melton
> IRC & Gentoo: RiverRat
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to