[llvm] [SLP] Enable full non-power-of-2 vectorization by default (PR #199450)
Sushant Gokhale via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 2 22:38:18 PDT 2026
sushgokh wrote:
@davemgreen These are stats on `-mcpu=grace` . Does this match your findings ?
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta name=ProgId content=Excel.Sheet>
<meta name=Generator content="Microsoft Excel 15">
<link id=Main-File rel=Main-File
href="file:///C:/Users/sgokhale/AppData/Local/Temp/msohtmlclip1/01/clip.htm">
<link rel=File-List
href="file:///C:/Users/sgokhale/AppData/Local/Temp/msohtmlclip1/01/clip_filelist.xml">
<style>
<!--table
{mso-displayed-decimal-separator:"\.";
mso-displayed-thousand-separator:"\,";}
@page
{margin:.75in .7in .75in .7in;
mso-header-margin:.3in;
mso-footer-margin:.3in;}
tr
{mso-height-source:auto;}
col
{mso-width-source:auto;}
br
{mso-data-placement:same-cell;}
td
{padding-top:1px;
padding-right:1px;
padding-left:1px;
mso-ignore:padding;
color:black;
font-size:11.0pt;
font-weight:400;
font-style:normal;
text-decoration:none;
font-family:"Aptos Narrow", sans-serif;
mso-font-charset:0;
mso-number-format:General;
text-align:general;
vertical-align:bottom;
border:none;
mso-background-source:auto;
mso-pattern:auto;
mso-protection:locked visible;
white-space:nowrap;
mso-rotate:0;}
.xl65
{border:.5pt solid windowtext;}
.xl66
{background:#4EA72E;
mso-pattern:black none;}
.xl67
{background:#E97132;
mso-pattern:black none;}
.xl68
{font-weight:700;}
.xl69
{font-weight:700;
white-space:normal;}
-->
</style>
</head>
<body link="#467886" vlink="#96607D">
SPEC 17 FP RATE | Config | Speedup/slowdown % (slowdown indicated by positive figures)
-- | -- | --
508.namd(C++) | "-Ofast -flto -mcpu=grace" | 1.350277998
510.parest(C++) | "-Ofast -flto -mcpu=grace" | 2.294921875
511.povray(C++) | "-Ofast -flto -mcpu=grace" | 2.41187384
538.imagemagik(C) | "-Ofast -flto -mcpu=grace" | 1.29617628
544.nab(C) | "-Ofast -flto -mcpu=grace" | 5.804195804
| |
527.cam(FTN,C) | "-O3 -flto -mcpu=grace" | 1.413427562
510.parest(C++) | "-O3 -flto -mcpu=grace" | 1.459580838
511.povray(C++) | "-O3 -flto -mcpu=grace" | -2.771084337
</body>
</html>
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta name=ProgId content=Excel.Sheet>
<meta name=Generator content="Microsoft Excel 15">
<link id=Main-File rel=Main-File
href="file:///C:/Users/sgokhale/AppData/Local/Temp/msohtmlclip1/01/clip.htm">
<link rel=File-List
href="file:///C:/Users/sgokhale/AppData/Local/Temp/msohtmlclip1/01/clip_filelist.xml">
<style>
<!--table
{mso-displayed-decimal-separator:"\.";
mso-displayed-thousand-separator:"\,";}
@page
{margin:.75in .7in .75in .7in;
mso-header-margin:.3in;
mso-footer-margin:.3in;}
tr
{mso-height-source:auto;}
col
{mso-width-source:auto;}
br
{mso-data-placement:same-cell;}
td
{padding-top:1px;
padding-right:1px;
padding-left:1px;
mso-ignore:padding;
color:black;
font-size:11.0pt;
font-weight:400;
font-style:normal;
text-decoration:none;
font-family:"Aptos Narrow", sans-serif;
mso-font-charset:0;
mso-number-format:General;
text-align:general;
vertical-align:bottom;
border:none;
mso-background-source:auto;
mso-pattern:auto;
mso-protection:locked visible;
white-space:nowrap;
mso-rotate:0;}
.xl65
{border:.5pt solid windowtext;}
.xl66
{text-align:center;
border:.5pt solid windowtext;}
.xl67
{background:#E97132;
mso-pattern:black none;}
.xl68
{font-weight:700;}
.xl69
{font-weight:700;
white-space:normal;}
-->
</style>
</head>
<body link="#467886" vlink="#96607D">
SPEC17 INT RATE | Config | Speedup/slowdown % (slowdown indicated by positive figures)
-- | -- | --
541.leela(C++) | "-O3 -flto -mcpu=grace" | 3.778951646
</body>
</html>
https://github.com/llvm/llvm-project/pull/199450
More information about the llvm-commits
mailing list