RE: [PATCH] MIPS MSA: Fix ICE when using out-of-range values to intrinsics

2016-12-06 Thread Robert Suchanek
Hi, Committed as r243301. Regards, Robert > > Robert Suchanek writes: > > The revised patch attached below. > > > > Regards, > > Robert > > > > gcc/ > > * config/mips/mips.c (mips_expand_builtin_insn): Check input ranges > > of literal integer arguments. > > > > gcc/testsuite/ > > > >

RE: [PATCH] MIPS MSA: Fix ICE when using out-of-range values to intrinsics

2016-12-05 Thread Matthew Fortune
Robert Suchanek writes: > The revised patch attached below. > > Regards, > Robert > > gcc/ > * config/mips/mips.c (mips_expand_builtin_insn): Check input ranges >of literal integer arguments. > > gcc/testsuite/ > > * gcc.target/mips/msa-builtins-err.c: New test. OK, thanks

RE: [PATCH] MIPS MSA: Fix ICE when using out-of-range values to intrinsics

2016-12-05 Thread Robert Suchanek
Hi, > Robert Suchanek writes: > > The patch primarily fixes an ICE with out-of-range values to the > > __builtin_msa_insve* intrinsics. > > > > The compiler segfaults in mips_legitimize_const_move () as it tries to > > split symbol that has NULL_RTX value and gets here because the patterns > > re

RE: [PATCH] MIPS MSA: Fix ICE when using out-of-range values to intrinsics

2016-11-28 Thread Matthew Fortune
Robert Suchanek writes: > The patch primarily fixes an ICE with out-of-range values to the > __builtin_msa_insve* intrinsics. > > The compiler segfaults in mips_legitimize_const_move () as it tries to > split symbol that has NULL_RTX value and gets here because the patterns > reject the operand a

[PATCH] MIPS MSA: Fix ICE when using out-of-range values to intrinsics

2016-11-16 Thread Robert Suchanek
Hi, The patch primarily fixes an ICE with out-of-range values to the __builtin_msa_insve* intrinsics. The compiler segfaults in mips_legitimize_const_move () as it tries to split symbol that has NULL_RTX value and gets here because the patterns reject the operand and a new move for the constant