[PATCH] D18086: Fix default processor name for armv6k.

Renato Golin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 13 11:40:22 PDT 2018


rengolin added a comment.

In https://reviews.llvm.org/D18086#1043635, @falstaff84 wrote:

> I seem to have a related issue: I am using -march=armv6k and -no-integrated-as, this generates the following output:
>  /tmp/empty-bc2ea3.s:4: Error: unknown cpu `arm1176j-s'


Right, this is not "invalid instruction", just "unknown cpu", which is totally different. :)

I thought we had removed the 1176j-s back then, but apparently not.

@labrinea an alternative fix would be to make 1176jz-s the default for armv6k as well as armv6kz.

But honestly, I lost track of all the horrible names armv6 used to have, and the information is slightly different everywhere.

To me, it doesn't sound like an important enough difference to matter. Does LLVM treat j-s and jz-s differently?

Finally, the list GNU uses can be different than the list Arm uses which, in turn, is different to the list LLVM uses.

The Arm docs are not consistent enough to be authoritative either, so it has never been clear cut.


https://reviews.llvm.org/D18086





More information about the llvm-commits mailing list