Re: TARGET_SHIFT_TRUNCATION_MASK

2010-07-16 Thread Paolo Bonzini
On 07/15/2010 02:26 PM, Uros Bizjak wrote: The reason you pointed out is for SHIFT_COUNT_TRUNCATED. Please note, that we don't use memory_operands, but even in register operand case, "bt" insn doesn't truncate the bit-count operand, but performs modulo operation on it. I.E, "bt %reg, 75" will not

RE: SH optimized software floating point routines

2010-07-16 Thread Joern Rennecke
Quoting "Naveen H. S" : extendsfdf2 - gcc.c-torture/execute/conversion.c gcc.dg/torture/fp-int-convert-float.c, gcc.dg/pr28796-2.c Note that some tests invoke undefined behaviour; I've also come across this when doing optimized soft FP for ARCompact: http://gcc.gnu.org/viewcvs/branches/arc-4_

Re: SH optimized software floating point routines

2010-07-16 Thread Kaz Kojima
"Naveen H. S" wrote: >>> you can free to propose a complete and regtested patch for SH >>> assembly soft fp against trunk. > > Please find attached the ported soft float patch "sh_softfloat.patch". > The original patch was posted at the following link by Joern RENNECKE. > http://gcc.gnu.org/ml/