Author: Matt Taylor
Date: 15:00:58 01/27/03
Go up one level in this thread
On January 27, 2003 at 14:36:55, Sander de Zoete wrote: >Hi Matt and Dann, > >What kind of compiler are you two using? My Borland CBuilder 4, seems to have >trouble with the inline asm code for SSE and SSE2. It gives an error like >"illegal instruction". MMX is working fine. > >Thanks for your help. >Sander. BCB 4 probably doesn't support the instructions. I use VC for most of my development, and it's the only one I do assembly with. I know it supports SSE & SSE 2. As I understand, BCB follows VC-style inline assembly? VC has an _emit pseudoinstruction so you can generate instructions that it doesn't support. It's a pain, but you might be able to use this. One other option is to download nasm 0.98 -- a free assembler that can produce a variety of output formats (COFF, Win32 PE/COFF, etc.) You can then do your SSE/SSE 2 stuff in nasm and link to it with BCB. I know Borland used to link OMF object files to produce Win32 applications, but I think they use Win32 PE/COFF format now. -Matt
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.