diff options
author | Evandro Menezes <e.menezes@samsung.com> | 2016-02-15 21:15:49 +0000 |
---|---|---|
committer | Evandro Menezes <evandro@gcc.gnu.org> | 2016-02-15 21:15:49 +0000 |
commit | c297d256e364bf1a1448da25497cda331c755646 (patch) | |
tree | 7b8c9c120e6c85a030236c02ad9b119e3f57e42f /gcc/config/aarch64 | |
parent | 2bd0a2d6b1b823008e36e1a5833cf520c3807ecc (diff) | |
download | gcc-c297d256e364bf1a1448da25497cda331c755646.zip gcc-c297d256e364bf1a1448da25497cda331c755646.tar.gz gcc-c297d256e364bf1a1448da25497cda331c755646.tar.bz2 |
Add support for the FCCMP insn types
2016-01-21 Evandro Menezes <e.menezes@samsung.com>
gcc/
* config/aarch64/aarch64.md (fccmp): Change insn type.
(fccmpe): Likewise.
* config/aarch64/thunderx.md (thunderx_fcmp): Add "fccmp{s,d}" types.
* config/arm/cortex-a53.md (cortex_a53_fpalu): Likewise.
* config/arm/cortex-a57.md (cortex_a57_fp_cmp): Likewise.
* config/arm/xgene1.md (xgene1_fcmp): Likewise.
* config/arm/exynos-m1.md (exynos_m1_fp_ccmp): New insn reservation.
* config/arm/types.md (fccmps): Add new insn type.
(fccmpd): Likewise.
From-SVN: r233432
Diffstat (limited to 'gcc/config/aarch64')
-rw-r--r-- | gcc/config/aarch64/aarch64.md | 4 | ||||
-rw-r--r-- | gcc/config/aarch64/thunderx.md | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md index b42f550..77bd191 100644 --- a/gcc/config/aarch64/aarch64.md +++ b/gcc/config/aarch64/aarch64.md @@ -302,7 +302,7 @@ (unspec:CCFP [(match_operand 5 "immediate_operand")] UNSPEC_NZCV)))] "TARGET_FLOAT" "fccmp\\t%<s>2, %<s>3, %k5, %m4" - [(set_attr "type" "fcmp<s>")] + [(set_attr "type" "fccmp<s>")] ) (define_insn "fccmpe<mode>" @@ -317,7 +317,7 @@ (unspec:CCFPE [(match_operand 5 "immediate_operand")] UNSPEC_NZCV)))] "TARGET_FLOAT" "fccmpe\\t%<s>2, %<s>3, %k5, %m4" - [(set_attr "type" "fcmp<s>")] + [(set_attr "type" "fccmp<s>")] ) ;; Expansion of signed mod by a power of 2 using CSNEG. diff --git a/gcc/config/aarch64/thunderx.md b/gcc/config/aarch64/thunderx.md index 922df39..058713a 100644 --- a/gcc/config/aarch64/thunderx.md +++ b/gcc/config/aarch64/thunderx.md @@ -156,7 +156,7 @@ (define_insn_reservation "thunderx_fcmp" 3 (and (eq_attr "tune" "thunderx") - (eq_attr "type" "fcmps,fcmpd")) + (eq_attr "type" "fcmps,fcmpd,fccmps,fccmpd")) "thunderx_pipe1") (define_insn_reservation "thunderx_fmul" 6 |