<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Dear list,</div><div><br></div><div><span style="font-family: 'times new roman', 'new york', times, serif;" data-mce-style="font-family: 'times new roman', 'new york', times, serif;">I have several questions about the Vectorization of LLVM:</span></div><div><br></div><div><span style="font-family: 'times new roman', 'new york', times, serif;" data-mce-style="font-family: 'times new roman', 'new york', times, serif;">1. As I found, -O3 have already included loop vectorization and slp vectorization (llvm3.3 and later version). So that means when I only use -O3, are both vectorizations applied?</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;" data-mce-style="font-family: 'times new roman', 'new york', times, serif;">And when I use -O3 -fno-vectorize, means that all the optimizations are applied except loop vectorization?</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;" data-mce-style="font-family: 'times new roman', 'new york', times, serif;"><br></span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;" data-mce-style="font-family: 'times new roman', 'new york', times, serif;">2. As in the report: <a href="http://llvm.org/devmtg/2012-04-12/Slides/Hal_Finkel.pdf">http://llvm.org/devmtg/2012-04-12/Slides/Hal_Finkel.pdf</a></span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;" data-mce-style="font-family: 'times new roman', 'new york', times, serif;">Why did he add<span style="background-color: rgb(255, 255, 255);" data-mce-style="background-color: #ffffff;"><span style="background-color: rgb(255, 255, 255);" data-mce-style="background-color: #ffffff;"> "-mllvm -unroll-allow-partial -mllvm -unroll-runtime -funsafe-math-optimizations -ffast-math" beyond -O3? I think this report was talking about llvm3.2, while in llvm3.3 or later version, do these options have important significance? </span></span></span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;" data-mce-style="font-family: 'times new roman', 'new york', times, serif;">Another thing is the <span style="background-color: rgb(255, 255, 255);" data-mce-style="background-color: #ffffff;"><span style="background-color: rgb(255, 255, 255);" data-mce-style="background-color: #ffffff;">autovectorization mentioned in this report, what's the different between the normal vectorization and </span></span><span style="background-color: rgb(255, 255, 255);" data-mce-style="background-color: #ffffff;">autovectorization?</span></span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;" data-mce-style="font-family: 'times new roman', 'new york', times, serif;"><span style="background-color: rgb(255, 255, 255);" data-mce-style="background-color: #ffffff;"><span style="background-color: rgb(255, 255, 255);" data-mce-style="background-color: #ffffff;">If autovectorization is important, how to use it? (Because </span></span>"-mllvm -vectorize (not worked) -mllvm -bb-vectorize-aligned-only ")</span></div><div><br></div><div><span style="font-family: 'times new roman', 'new york', times, serif;" data-mce-style="font-family: 'times new roman', 'new york', times, serif;">3. When I want to use vectorization on ARM (especially for neon), which option do I need to add? Just -mfpu=neon? Is some information like "-target armv7l -mfloat-abi=hard" needed?</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;" data-mce-style="font-family: 'times new roman', 'new york', times, serif;"><br></span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;" data-mce-style="font-family: 'times new roman', 'new york', times, serif;">Thanks for your attention.</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;" data-mce-style="font-family: 'times new roman', 'new york', times, serif;"><br></span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;" data-mce-style="font-family: 'times new roman', 'new york', times, serif;">Sincerely,</span></div><div><br></div><div><span style="font-family: 'times new roman', 'new york', times, serif;" data-mce-style="font-family: 'times new roman', 'new york', times, serif;">Hanbing</span></div><div><br></div><div><br></div></div></body></html>