diff options
author | Subrata Banik <subratabanik@google.com> | 2024-09-07 01:33:11 +0530 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2024-09-13 07:07:47 +0000 |
commit | 4ba9eeab08d3ab817b7751dc6f834148667ce065 (patch) | |
tree | 41ade52d3a48afc8056471e872804a1aac0c0cde /src/soc/intel/pantherlake | |
parent | 300fbc502be1376f932fb0cccb71eae96a176895 (diff) |
soc/intel/cmn/block/cpu: Simplify calculation of non-eviction ways
The calculation of non-eviction ways (used for cache-as-ram
configuration) has been simplified by removing conditional move
instructions and directly adding the remainder to the quotient.
This achieves the same ceiling operation but with potentially improved
efficiency (less instructions).
No functional changes are expected.
TEST=Able to build and boot google/rex.
Change-Id: I7cf5ff19ec440d049edc3bf52c660dea96b1f08a
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84236
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
Diffstat (limited to 'src/soc/intel/pantherlake')
0 files changed, 0 insertions, 0 deletions