]> granicus.if.org Git - clang/commit
[AArch64] Add default features for CPUs on AArch64 target.
authorKevin Qin <Kevin.Qin@arm.com>
Wed, 11 Jun 2014 01:42:16 +0000 (01:42 +0000)
committerKevin Qin <Kevin.Qin@arm.com>
Wed, 11 Jun 2014 01:42:16 +0000 (01:42 +0000)
commit1441ef575a2635e6a6f53e7681f3d92e0573d238
tree1c5fa541c111536fe0b4bd02bbd361b7c47d2f0b
parentba63908cfd473ef5afd32ec8f65f32d1e70ffcc5
[AArch64] Add default features for CPUs on AArch64 target.

For ARM target, we can use CRYPTO and CRC features if we select
cortex-a57 by '-mcpu', but for AArch64 target, it doesn't work
unless adding with '-mfpu=crypto-neon-fp-armv8'. To keep consistency
between front-end and back-end and get end-users more easier to use,
we'd better add default feature for CPUs on AArch64 target as well.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210625 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
test/Preprocessor/aarch64-target-features.c