This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Remove non-existent cpu arm1176j-s and use mpcore for v6k
ClosedPublic

Authored by peter.smith on Sep 27 2018, 3:13 AM.

Details

Summary

The ARMTargetParser.def contains an entry for arm1176j-s which is the default for the ArmV6K architecture. This cpu does not exist, there are only arm1176jz-s and arm1176jzf-s and they are both architecture ArmV6KZ. The only CPUs that are actually ArmV6K are the mpcore, mpcore_nofpu and later revisions of the arm1136 family r1px (which we don't have a table entry for).

This patch removes the arm1176j-s and makes mpcore the default for armv6k. I'll post the update to the clang tests to account for this change in a separate review.

It is difficult to find a simple canonical location for all the different CPUs and what architectures they have. The allowable trademarks for arm11 CPUs are available in https://www.arm.com/company/policies/trademarks/arm-trademark-list/arm11-trademark . The architecture each CPU implements is available in the Technical Reference Manual (TRM) on the Arm website http://infocenter.arm.com/help/topic/com.arm.doc.set.arm11/index.html

This is an alternative fix for D18086

Diff Detail

Repository
rL LLVM