aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2021-10-17 17:27:30 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2021-10-17 17:28:09 +0300
commit4b76a74b4283362f69748c4d0a5bc22b1237ced0 (patch)
treea34a1b7191853102990dc22c0a0963200bbc5812 /clang/lib/CodeGen/CodeGenModule.cpp
parent887acf6842cb48e7c51728ed8d81fc5ab0425403 (diff)
downloadllvm-4b76a74b4283362f69748c4d0a5bc22b1237ced0.zip
llvm-4b76a74b4283362f69748c4d0a5bc22b1237ced0.tar.gz
llvm-4b76a74b4283362f69748c4d0a5bc22b1237ced0.tar.bz2
[X86][Costmodel] Load/store i32 Stride=3 VF=32 interleaving costs
A few more tuples are being queried after D111546. Might be good to model them, They all require a lot of manual assembly surgery. The only sched models that for cpu's that support avx2 but not avx512 are: haswell, broadwell, skylake, zen1-3 For load we have: https://godbolt.org/z/s5b6E6jsP - for intels `Block RThroughput: <=32.0`; for ryzens, `Block RThroughput: <=24.0` So could pick cost of `32` For store we have: https://godbolt.org/z/efh99d93b - for intels `Block RThroughput: <=48.0`; for ryzens, `Block RThroughput: <=32.0` So we could pick cost of `48`. I'm directly using the shuffling asm the llc produced, without any manual fixups that may be needed to ensure sequential execution. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D111942
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions