diff options
author | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | 2015-09-11 09:44:26 +0000 |
---|---|---|
committer | Ramana Radhakrishnan <ramana@gcc.gnu.org> | 2015-09-11 09:44:26 +0000 |
commit | 09fcd8e1491fa20f45b546144e18e201458e925d (patch) | |
tree | d73ae24317184bff5ef6062ba171ea6d05a01913 /gcc/config/aarch64/iterators.md | |
parent | 708d1034dbcdebb1dcc3503f7fdd0e45478c6fca (diff) | |
download | gcc-09fcd8e1491fa20f45b546144e18e201458e925d.zip gcc-09fcd8e1491fa20f45b546144e18e201458e925d.tar.gz gcc-09fcd8e1491fa20f45b546144e18e201458e925d.tar.bz2 |
Remove separate movtf pattern - Use an iterator for all FP modes.
movtf is unnecessary as a separate expander. Move this to be with
the standard scalar floating point expanders.
Achieved by adding a new iterator and then using the same.
Tested cross aarch64-none-elf and no regressions.
Rebased version from https://gcc.gnu.org/ml/gcc-patches/2015-09/msg00767.html
2015-09-10 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
PR target/63304
* config/aarch64/aarch.md (mov<mode>:GPF_F16): Use GPF_TF_F16.
(movtf): Delete.
* config/aarch64/iterators.md (GPF_TF_F16): New.
(GPF_F16): Delete.
From-SVN: r227679
Diffstat (limited to 'gcc/config/aarch64/iterators.md')
-rw-r--r-- | gcc/config/aarch64/iterators.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/aarch64/iterators.md b/gcc/config/aarch64/iterators.md index 2bd64c8..ff69800 100644 --- a/gcc/config/aarch64/iterators.md +++ b/gcc/config/aarch64/iterators.md @@ -38,8 +38,8 @@ ;; Iterator for General Purpose Floating-point registers (32- and 64-bit modes) (define_mode_iterator GPF [SF DF]) -;; Iterator for General Purpose Float registers, inc __fp16. -(define_mode_iterator GPF_F16 [HF SF DF]) +;; Iterator for all scalar floating point modes (HF, SF, DF and TF) +(define_mode_iterator GPF_TF_F16 [HF SF DF TF]) ;; Double vector modes. (define_mode_iterator VDF [V2SF V4HF]) |