dword ptr in Intel x86 assembler
dword ptr in Intel x86 assembler
- Subject: dword ptr in Intel x86 assembler
- From: Steven Kortze <email@hidden>
- Date: Sun, 14 Aug 2005 19:37:03 -0400
I've been working on some Mac x86 support in an open source fractal
project. The project has some x86 assembler for FPU, SSE and SSE2
routines. However, the gcc x86 tools choke on just about anything
with "dword ptr" in it. I've seen some postings on the net mentioning
that the gcc tools has some problems with it. Based on this, I would
presume that it is a known problem. Is there any workaround for it?
For reference, I am using an asm code block (i.e. asm { xxx xxx }) in
a *.cpp file. With the dword ptr code active (not commented out), I
usually get a message that cc1plus crashed when I do a save.
Instead of using the actual assembler code, I have built some code
that uses the x86 SSE intrinsic functions. As long as I turn on
compiler optimizations, that seems to work pretty well in terms of
functionality and performance. Are there any workarounds for the
dword ptr issue?
Thanks,
Steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden