mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 0/3] regmap: Cleanup and microoptimization
@ 2024-11-21 10:57 Andy Shevchenko
  2024-11-21 10:57 ` [PATCH v1 1/3] regmap: cache: Use BITS_TO_BYTES() Andy Shevchenko
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Andy Shevchenko @ 2024-11-21 10:57 UTC (permalink / raw)
  To: Mark Brown, Guenter Roeck, linux-kernel, llvm
  Cc: Greg Kroah-Hartman, Rafael J. Wysocki, Nathan Chancellor,
	Nick Desaulniers, Bill Wendling, Justin Stitt, Andy Shevchenko

Two patches move the code to use BITS_TO_BYTES(), while the last
one otpimizes the code generation on x86 (32- and 64-bit on different
compilers).

Andy Shevchenko (3):
  regmap: cache: Use BITS_TO_BYTES()
  regmap: Use BITS_TO_BYTES()
  regmap: place foo / 8 and foo % 8 closer to each other

 drivers/base/regmap/regcache.c | 2 +-
 drivers/base/regmap/regmap.c   | 9 ++++-----
 2 files changed, 5 insertions(+), 6 deletions(-)

-- 
2.43.0.rc1.1336.g36b5255a03ac


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-12-02 17:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-21 10:57 [PATCH v1 0/3] regmap: Cleanup and microoptimization Andy Shevchenko
2024-11-21 10:57 ` [PATCH v1 1/3] regmap: cache: Use BITS_TO_BYTES() Andy Shevchenko
2024-11-21 10:57 ` [PATCH v1 2/3] regmap: " Andy Shevchenko
2024-11-21 10:57 ` [PATCH v1 3/3] regmap: place foo / 8 and foo % 8 closer to each other Andy Shevchenko
2024-12-02 17:36 ` [PATCH v1 0/3] regmap: Cleanup and microoptimization Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®