Commit 4199c859 by Jakub Jelinek Committed by Jakub Jelinek

re PR target/89438 (ICE in glibc/sysdeps/ieee754/dbl-64/e_pow.c (internal…

re PR target/89438 (ICE in glibc/sysdeps/ieee754/dbl-64/e_pow.c (internal compiler error: in decompose, at rtl.h:2266))

	PR target/89438
	* config/arm.vfp.md (*negdf2_vfp): Use
	gen_int_mode (0x80000000, SImode) instead of GEN_INT (0x80000000).
	* config/arm/neon.md (neon_copysignf<mode>): Likewise.

	* gcc.dg/pr89438.c: New test.

From-SVN: r269185
parent 82eadb94
2019-02-25 Jakub Jelinek <jakub@redhat.com>
PR target/89438
* config/arm.vfp.md (*negdf2_vfp): Use
gen_int_mode (0x80000000, SImode) instead of GEN_INT (0x80000000).
* config/arm/neon.md (neon_copysignf<mode>): Likewise.
2019-02-24 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/89445
......
......@@ -3610,7 +3610,7 @@
"{
rtx v_bitmask_cast;
rtx v_bitmask = gen_reg_rtx (<VCVTF:V_cmp_result>mode);
rtx c = GEN_INT (0x80000000);
rtx c = gen_int_mode (0x80000000, SImode);
emit_move_insn (v_bitmask,
gen_const_vec_duplicate (<VCVTF:V_cmp_result>mode, c));
......
......@@ -871,14 +871,15 @@
if (REGNO (operands[0]) == REGNO (operands[1]))
{
operands[0] = gen_highpart (SImode, operands[0]);
operands[1] = gen_rtx_XOR (SImode, operands[0], GEN_INT (0x80000000));
operands[1] = gen_rtx_XOR (SImode, operands[0],
gen_int_mode (0x80000000, SImode));
}
else
{
rtx in_hi, in_lo, out_hi, out_lo;
in_hi = gen_rtx_XOR (SImode, gen_highpart (SImode, operands[1]),
GEN_INT (0x80000000));
gen_int_mode (0x80000000, SImode));
in_lo = gen_lowpart (SImode, operands[1]);
out_hi = gen_highpart (SImode, operands[0]);
out_lo = gen_lowpart (SImode, operands[0]);
......
2019-02-25 Jakub Jelinek <jakub@redhat.com>
PR target/89438
* gcc.dg/pr89438.c: New test.
2019-02-24 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/84585
......
/* PR target/89438 */
/* { dg-do compile } */
/* { dg-options "-O2 -g -w" } */
struct S { double b, c; struct T { double d, e; } f[16]; } g;
int h, i, j;
double k;
double
foo (void)
{
int m;
if (j)
return k;
long a, p = a - 80;
double b, n;
n = b * h + g.f[p].e;
m = n;
double o = 1 ? m : 1.0;
k = i ? -o : o;
return k;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment