[PATCH, middle-end/RTL, i386]: Simplify nested VEC_SELECT RTX

Rask Ingemann Lambertsen rask@sygehus.dk
Wed Aug 29 11:23:00 GMT 2007


On Fri, Jul 13, 2007 at 03:23:14PM +0200, Uros Bizjak wrote:

> Patch was bootstrapped and regression tested on i686-pc-linux-gnu.

> 2007-07-13  Uros Bizjak  <ubizjak@gmail.com>
> 
> 	PR target/32661
> 	* simplify-rtx.c (simplify_binary_operation_1) [VEC_SELECT]:
> 	Simplify nested VEC_SELECT (with optional VEC_CONCAT operator as
> 	operand) when top VEC_SELECT extracts scalar element.
> 	* config/i386/sse.md (*vec_extract_v4si_mem): New.
> 	(*vec_extract_v4sf_mem): Ditto.

   I guess the following new testsuite failure on x86_64-unknown-linux-gnu
is your fault, then:

/home/rask/src/gcc/gcc/testsuite/gcc.c-torture/execute/simd-1.c: In function main:
/home/rask/src/gcc/gcc/testsuite/gcc.c-torture/execute/simd-1.c:74: internal compiler error: RTL check: expected code 'const_vector', have 'parallel' in simplify_binary_operation_1, at simplify-rtx.c:2688

-- 
Rask Ingemann Lambertsen



More information about the Gcc-patches mailing list