diff options
author | Alex Coplan <alex.coplan@arm.com> | 2020-09-30 09:02:47 +0100 |
---|---|---|
committer | Alex Coplan <alex.coplan@arm.com> | 2020-09-30 09:02:47 +0100 |
commit | f63023fafbbc13545fef67e6b32a55b48a945fcf (patch) | |
tree | d67c33c7e792a350dc2a042abba27a6aab21ff3e /gcc/fortran/f95-lang.c | |
parent | de2c1d00f27bfaa1f917a2e3a933a45e3b8ba95a (diff) | |
download | gcc-f63023fafbbc13545fef67e6b32a55b48a945fcf.zip gcc-f63023fafbbc13545fef67e6b32a55b48a945fcf.tar.gz gcc-f63023fafbbc13545fef67e6b32a55b48a945fcf.tar.bz2 |
arm: Fix ICEs in no-literal-pool.c on MVE [PR97251]
This patch fixes ICEs when compiling
gcc/testsuite/gcc.target/arm/pure-code/no-literal-pool.c with
-mfp16-format=ieee -mfloat-abi=hard -march=armv8.1-m.main+mve
-mpure-code.
The existing conditions in the movsf/movdf expanders (as well as the
no_literal_pool patterns) were too restrictive, requiring
TARGET_HARD_FLOAT instead of TARGET_VFP_BASE, which caused unrecognised
insns when compiling this testcase with integer MVE and -mpure-code.
gcc/ChangeLog:
PR target/97251
* config/arm/arm.md (movsf): Relax TARGET_HARD_FLOAT to
TARGET_VFP_BASE.
(movdf): Likewise.
* config/arm/vfp.md (no_literal_pool_df_immediate): Likewise.
(no_literal_pool_sf_immediate): Likewise.
Diffstat (limited to 'gcc/fortran/f95-lang.c')
0 files changed, 0 insertions, 0 deletions