HomePhabricator

[AArch64] Cortex-A57 FDIV/FSQRT scheduling fix (W-unit)

Description

[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.

Details

Committed
rengolinDec 23 2016, 4:51 AM
Parents
rL290425: Revert r290423 because it broke the sanitizer-x86_64-linux-autoconf buildbot.
Branches
Unknown
Tags
Unknown