diff options
author | Renato Golin <renato.golin@linaro.org> | 2016-12-23 12:51:41 +0000 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2016-12-23 12:51:41 +0000 |
commit | 21da340f7a16e1d6ec3fa5c40b32ab2056f58b85 (patch) | |
tree | 1898445adfe0f4ce83dbd7de0a274707f1841ba7 /clang/lib/AST/ExprConstant.cpp | |
parent | 898127fe36cdc156c3354ff9512cc4dd92c61c80 (diff) | |
download | bcm5719-llvm-21da340f7a16e1d6ec3fa5c40b32ab2056f58b85.tar.gz bcm5719-llvm-21da340f7a16e1d6ec3fa5c40b32ab2056f58b85.zip |
[AArch64] Cortex-A57 FDIV/FSQRT scheduling fix (W-unit)
According to the Cortex-A57 doc, FDIV/FSQRT instructions should use F0 unit
(W-unit in AArch64SchedA57.td, the same as cryptography instructions),
not F1 unit (X-unit in td, like ASIMD absolute diff accum SABA/UABA).
This patch changes FDIV/FSQRT scheduling declarations to use A57UnitW
instead of A57UnitX. Also, latencies for those instructions are
corrected.
Patch by Andrew Zhogin.
llvm-svn: 290426
Diffstat (limited to 'clang/lib/AST/ExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions