Giacomo Travaglini has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/41493 )

Change subject: base: Fix coding style in bitfield.hh
......................................................................

base: Fix coding style in bitfield.hh

Change-Id: I4d571a14f297efcd776c5e479999ecb50289b9c1
Signed-off-by: Giacomo Travaglini <giacomo.travagl...@arm.com>
---
M src/base/bitfield.hh
1 file changed, 6 insertions(+), 3 deletions(-)



diff --git a/src/base/bitfield.hh b/src/base/bitfield.hh
index 98a93d4..13282f2 100644
--- a/src/base/bitfield.hh
+++ b/src/base/bitfield.hh
@@ -313,7 +313,8 @@
  *
  * @ingroup api_bitfield
  */
-inline uint64_t alignToPowerOfTwo(uint64_t val)
+inline uint64_t
+alignToPowerOfTwo(uint64_t val)
 {
     val--;
     val |= val >> 1;
@@ -335,7 +336,8 @@
  *
  * @ingroup api_bitfield
  */
-inline int ctz32(uint32_t value)
+inline int
+ctz32(uint32_t value)
 {
     return value ? __builtin_ctzl(value) : 32;
 }
@@ -348,7 +350,8 @@
  *
  * @ingroup api_bitfield
  */
-inline int ctz64(uint64_t value)
+inline int
+ctz64(uint64_t value)
 {
     return value ? __builtin_ctzll(value) : 64;
 }

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/41493
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I4d571a14f297efcd776c5e479999ecb50289b9c1
Gerrit-Change-Number: 41493
Gerrit-PatchSet: 1
Gerrit-Owner: Giacomo Travaglini <giacomo.travagl...@arm.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to