Fix c/zaxpyc kernel bug on Cortex-A57.

This commit is contained in:
Zhang Xianyi 2016-02-23 22:47:53 +00:00
parent 6e7be06e07
commit 74b0672223
1 changed files with 16 additions and 14 deletions

View File

@ -147,12 +147,13 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
fmla v4.4s, v3.4s, v17.4s fmla v4.4s, v3.4s, v17.4s
#endif #endif
#if !defined(CONJ)
fmla v5.4s, v2.4s, v17.4s fmla v5.4s, v2.4s, v17.4s
#else #if !defined(CONJ)
fmls v5.4s, v2.4s, v17.4s
#endif
fmla v5.4s, v3.4s, v16.4s fmla v5.4s, v3.4s, v16.4s
#else
fmls v5.4s, v3.4s, v16.4s
#endif
st2 {v4.4s, v5.4s}, [Y], #32 st2 {v4.4s, v5.4s}, [Y], #32
#else // DOUBLE #else // DOUBLE
@ -165,12 +166,13 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#else #else
fmla v4.2d, v3.2d, v17.2d fmla v4.2d, v3.2d, v17.2d
#endif #endif
#if !defined(CONJ)
fmla v5.2d, v2.2d, v17.2d fmla v5.2d, v2.2d, v17.2d
#else #if !defined(CONJ)
fmls v5.2d, v2.2d, v17.2d
#endif
fmla v5.2d, v3.2d, v16.2d fmla v5.2d, v3.2d, v16.2d
#else
fmls v5.2d, v3.2d, v16.2d
#endif
st2 {v4.2d, v5.2d}, [Y], #32 st2 {v4.2d, v5.2d}, [Y], #32
@ -183,13 +185,13 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#else #else
fmla v20.2d, v19.2d, v17.2d fmla v20.2d, v19.2d, v17.2d
#endif #endif
#if !defined(CONJ)
fmla v21.2d, v18.2d, v17.2d
#else
fmls v21.2d, v18.2d, v17.2d
#endif
fmla v21.2d, v19.2d, v16.2d
fmla v21.2d, v18.2d, v17.2d
#if !defined(CONJ)
fmla v21.2d, v19.2d, v16.2d
#else
fmls v21.2d, v19.2d, v16.2d
#endif
st2 {v20.2d, v21.2d}, [Y], #32 st2 {v20.2d, v21.2d}, [Y], #32
#endif #endif
PRFM PLDL1KEEP, [X, #512] PRFM PLDL1KEEP, [X, #512]