This is an archive of the discontinued LLVM Phabricator instance.

[AAch64] Add the __ARM_FEATURE_DOTPROD macro definition
ClosedPublic

Authored by flyingforyou on Apr 11 2018, 4:34 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

flyingforyou created this revision.Apr 11 2018, 4:34 PM

Hi, thanks for adding this.

Also wanted to confirm that macro __ARM_FEATURE_DOTPROD will defined/included in the next release of the ACLE.

lib/Basic/Targets/AArch64.h
36 ↗(On Diff #142088)

Does this need to be initialised (and set to false)?

test/Preprocessor/aarch64-target-features.c
94 ↗(On Diff #142088)

Perhaps one additional check it's not enabled?

Addressed SjoerdMeijer' new comments. Thanks.

Also wanted to confirm that macro __ARM_FEATURE_DOTPROD will defined/included in the next release of the ACLE.

Could you check it, please? I saw several codes that use above definition which are written by ARM engineers.

SjoerdMeijer accepted this revision.Apr 13 2018, 1:51 AM

LGTM, thanks.

This revision is now accepted and ready to land.Apr 13 2018, 1:51 AM
This revision was automatically updated to reflect the committed changes.