diff options
author | Joseph Myers <joseph@codesourcery.com> | 2016-11-23 23:32:54 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2016-11-23 23:32:54 +0000 |
commit | 03f24169cd08ba3dca65248ff7cc4d7a18d35a48 (patch) | |
tree | 4e33e2bd653cb98b8c630bb7f24924b2057de920 /gcc/tree.c | |
parent | 469585df2d22f325c50e1614d397a0a38b29df6f (diff) | |
download | gcc-03f24169cd08ba3dca65248ff7cc4d7a18d35a48.zip gcc-03f24169cd08ba3dca65248ff7cc4d7a18d35a48.tar.gz gcc-03f24169cd08ba3dca65248ff7cc4d7a18d35a48.tar.bz2 |
Add another e500 subreg pattern.
Building glibc for powerpc-linux-gnuspe --enable-e500-double, given
the patch <https://gcc.gnu.org/ml/gcc-patches/2016-11/msg02404.html>
applied, fails with errors such as:
../sysdeps/ieee754/ldbl-128ibm/s_modfl.c: In function '__modfl':
../sysdeps/ieee754/ldbl-128ibm/s_modfl.c:91:1: error: unrecognizable insn:
}
^
(insn 31 30 32 2 (set (reg:DF 203)
(subreg:DF (reg:TI 202) 8)) "../sysdeps/ieee754/ldbl-128ibm/s_modfl.c":44 -1
(nil))
../sysdeps/ieee754/ldbl-128ibm/s_modfl.c:91:1: internal compiler error: in extract_insn, at recog.c:2311
This patch adds an insn pattern similar to various patterns already
present to handle extracting such a subreg. This allows the glibc
build to get further, until it runs into an assembler error for which
I have another patch.
gcc:
* config/rs6000/spe.md (*frob_<SPE64:mode>_ti_8): New insn
pattern.
gcc/testsuite:
* gcc.c-torture/compile/20161123-1.c: New test.
From-SVN: r242813
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions