"Singh, Ravi Kumar (Ravi)" Ravi.Singh@lsi.com wrote on 11.04.2012 17:50:53:
If I disable extra transformations as suggested by you my cycles increase to 38xx in comparison to -O2 25xx
Sorry, I misremembered the flag spelling. It should read:
-ftree-vectorize -fno-tree-loop-if-convert --param max-stores-to-sink=0
This gets me identical code to just -O2 on your test case.
Mit freundlichen Gruessen / Best Regards
Ulrich Weigand
-- Dr. Ulrich Weigand | Phone: +49-7031/16-3727 STSM, GNU compiler and toolchain for Linux on System z and Cell/B.E. IBM Deutschland Research & Development GmbH Vorsitzende des Aufsichtsrats: Martina Koederitz | Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft: Böblingen | Registergericht: Amtsgericht Stuttgart, HRB 243294