I found this info:

https://stackoverflow.com/a/35061913

which suggests running:

$ llc --version
(to show supported architectures)

$ llc -march=ARCH -mattr=help
(to list "available CPUs" and "available features")

So I found for my case:

$ llc -march=x86 -mattr=help
Available CPUs for this target:
...
pentium-m      - Select the pentium-m processor.
...

And I modified my script to use:

CFLAGS='-O3 -march=x86 -mtune=pentium-m'

Unfortunately clang complains again:

error: unknown target CPU 'x86'
note: valid target CPU values are: (same old list)

I hope someone can shed some light on all this. There
seem to be others complaining from the lack of info.

--
George
_______________________________________________
cfe-users mailing list
cfe-users@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users

Reply via email to