This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Define __ARM_FEATURE_DSP macro for CPUs that have DSP instructions
ClosedPublic

Authored by sdmitrouk on Nov 20 2014, 7:12 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

sdmitrouk updated this revision to Diff 16428.Nov 20 2014, 7:12 AM
sdmitrouk retitled this revision from to [ARM] Define __ARM_FEATURE_DSP macro for CPUs that have DSP instructions.
sdmitrouk updated this object.
sdmitrouk edited the test plan for this revision. (Show Details)
sdmitrouk added a reviewer: doug.gregor.
sdmitrouk added a subscriber: Unknown Object (MLST).
asl added a subscriber: asl.Nov 22 2014, 10:15 PM
asl added inline comments.
test/Preprocessor/arm-target-features.c
150 ↗(On Diff #16428)

You also need to add tests checking for negative cases (.e.g on M-only cpu, etc.)

sdmitrouk updated this revision to Diff 16559.Nov 24 2014, 6:04 AM

Add several more checks to tests.

sdmitrouk added inline comments.Nov 24 2014, 6:07 AM
test/Preprocessor/arm-target-features.c
150 ↗(On Diff #16428)

Actually, there already were two NOT-checks for M0 and M3, added one more for v4 and one for v5 without such instructions.

asl accepted this revision.Nov 24 2014, 7:54 AM
asl added a reviewer: asl.

LGTM

This revision is now accepted and ready to land.Nov 24 2014, 7:54 AM
sdmitrouk closed this revision.Nov 25 2014, 12:58 AM
sdmitrouk updated this revision to Diff 16599.

Closed by commit rL222741 (authored by @sdmitrouk).