[PATCH] D144388: [X86] Revise Alderlake P-Core schedule model

Haohai, Wen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 5 21:24:55 PST 2023


HaohaiWen added a comment.

According to optimization manual, back to back ADD latency is 2 cycles. What uops.info tested was not back to back ADD latency.

> Back-to-back ADD/SUB operations that are both executed on the Fast Adder unit perform the operations
> in two cycles.
>> In 128/256-bit, back-to-back ADD/SUB operations executed on the Fast Adder unit perform the
> operations in two cycles.
>> In 512-bit, back-to-back ADD/SUB operations are executed in two cycles if both operations use the
> Fast Adder unit on port 5.
> The following instructions are executed by the Fast Adder unit:
>> (V)ADDSUBSS/SD/PS/PD
>> (V)ADDSS/SD/PS/PD
>> (V)SUBSS/SD/PS/PD




Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144388/new/

https://reviews.llvm.org/D144388



More information about the llvm-commits mailing list