target-arm: A64: Implement SIMD FP compare and set insns
commit8908f4d1850dbfd0de442e8deaed2f41821cdb89
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 20 Feb 2014 10:35:49 +0000 (20 10:35 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Feb 2014 10:35:49 +0000 (20 10:35 +0000)
tree66a555d19c9f60e28e50c3005be82d6d059e7432
parentb033cd3d0021bee24931d0118fbd34e8c8d8b5af
target-arm: A64: Implement SIMD FP compare and set insns

This adds all forms of the SIMD floating point and set instructions:

  FCM(GT|GE|EQ|LE|LT)

Most of the heavy lifting is done by either the existing neon helpers or
some new helpers for the 64bit double cases. Most of the code paths are
common although the 2misc versions are a little special as they compare
against zero.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
[PMM: fixed some minor bugs, added the 2-misc-scalar encoding]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
target-arm/helper-a64.c
target-arm/helper-a64.h
target-arm/translate-a64.c