This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR optimization/8178 (x86)


On Sat, Oct 18, 2003 at 12:20:35AM +0200, Eric Botcazou wrote:
>   [(parallel [(set (match_dup 2) (const_int 0))
> 	      (clobber (reg:CC 17))])
>    (parallel [(set (reg:CCZ 17) (compare:CCZ (match_dup 1) (const_int 0)))
> 	      (set (match_dup 0) (ctz:SI (match_dup 1)))])
>    (set (strict_low_part (match_dup 3))
> 	(eq:QI (reg:CCZ 17) (const_int 0)))
>    (parallel [(set (match_dup 2) (neg:SI (match_dup 2)))
> 	      (clobber (reg:CC 17))])
>    (parallel [(set (match_dup 0) (ior:SI (match_dup 0) (match_dup 2)))
> 	      (clobber (reg:CC 17))])
>    (parallel [(set (match_dup 0) (plus:SI (match_dup 0) (const_int 1)))
> 	      (clobber (reg:CC 17))])]
> {
>   operands[3] = gen_lowpart (QImode, operands[2]);
> })

The correct fix is to remove the first pattern of the split
and invoke ix86_expand_clear from the { } .



r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]