[Bug tree-optimization/31460] vectorizer failed to work on simple loop

2007-04-03 Thread hjl at lucon dot org
--- Comment #2 from hjl at lucon dot org 2007-04-03 17:37 --- For code: typedef short vec_t; extern __attribute__((aligned(16))) vec_t x [64]; extern __attribute__((aligned(16))) vec_t y [64]; extern __attribute__((aligned(16))) vec_t m [64]; void foo () { int i; for (i = 0; i <

[Bug tree-optimization/31460] vectorizer failed to work on simple loop

2007-04-03 Thread steven at gcc dot gnu dot org
--- Comment #1 from steven at gcc dot gnu dot org 2007-04-03 16:36 --- Maybe you can show the assembly output you're expecting? tree level if-conversion for the vectorizer _should_ be able to recognize this case. It may be that it's just not set up to deal with x86* insns of this kind.