[PATCH] D154488: [PowerPC] Define SchedModel for Power8
    Qiu Chaofan via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Sep  7 21:14:28 PDT 2023
    
    
  
qiucf added inline comments.
================
Comment at: llvm/lib/Target/PowerPC/PPCScheduleP8.td:244
+    LBARX, LBARXL, LBEPX, LBZCIX, LDARX, LDARXL, LDBRX, LDCIX, LFDEPX, LHARX, LHARXL, LHBRX, LXSIWAX,
+    LHBRX8, LHEPX, LHZCIX, LMW, LSWI, LVSL, LVSR, LWARX, LWARXL, LWBRX, LWBRX8, LWEPX, LWZCIX)>;
+
----------------
shchenz wrote:
> ```
> lswi lswx stswi stswx (unaligned)
> LSU,LU
> ```
> 
> ```
> lwarx ldarx
> LSU or LU
> ```
- lswi (naturally aligned) uses LSU or LU
- lswi lswx stswi stswx (unaligned) uses LSU,LU
- stswi (naturally aligned) uses LSU, LU
We can't differentiate whether it's aligned or not, assume naturally aligned here.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154488/new/
https://reviews.llvm.org/D154488
    
    
More information about the llvm-commits
mailing list