[LLVMdev] floating point exception and SSE2 instructions
Simon Burton
simon at arrowtheory.com
Wed Apr 19 16:49:58 PDT 2006
On Wed, 19 Apr 2006 18:21:32 -0500 (CDT)
Chris Lattner <sabre at nondot.org> wrote:
>
>
> I don't see what this has to do with anything, but...
Me neither.
>
> > Is there a way I can disable SSE instruction generation in LLVM ?
>
> Yes. Pass -mattr=-sse1,-sse2,-sse3 to lli or llc.
Right, that fixed it.
BTW:
from the --help:
-mattr=<a1,+a2,-a3,...> - Target specific attributes (-mattr=help for details)
-mcpu=<cpu-name> - Target a specific cpu type (-mcpu=help for details)
but -mattr=help doesn't do anything.
Simon.
--
Simon Burton, B.Sc.
Licensed PO Box 8066
ANU Canberra 2601
Australia
Ph. 61 02 6249 6940
http://arrowtheory.com
More information about the llvm-dev
mailing list