From: Gabe Black Date: Fri, 29 Jan 2021 01:04:24 +0000 (-0800) Subject: arch-arm: Fix style in decoder.hh. X-Git-Tag: develop-gem5-snapshot~190 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=88a2a18c1c41a12ac5d6b16d554e7301f9d2e27b;p=gem5.git arch-arm: Fix style in decoder.hh. Change-Id: I45cf1fefc6145393abec2de12e74816c0c8ac0e9 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40096 Reviewed-by: Daniel Carvalho Reviewed-by: Giacomo Travaglini Maintainer: Giacomo Travaglini Tested-by: kokoro --- diff --git a/src/arch/arm/decoder.hh b/src/arch/arm/decoder.hh index 598e8653b..fa5b15eb1 100644 --- a/src/arch/arm/decoder.hh +++ b/src/arch/arm/decoder.hh @@ -169,7 +169,8 @@ class Decoder : public InstDecoder * @param mach_inst A pre-decoded instruction * @retval A pointer to the corresponding StaticInst object. */ - StaticInstPtr decode(ExtMachInst mach_inst, Addr addr) + StaticInstPtr + decode(ExtMachInst mach_inst, Addr addr) { return defaultCache.decode(this, mach_inst, addr); } @@ -197,13 +198,15 @@ class Decoder : public InstDecoder public: // ARM-specific decoder state manipulation - void setContext(FPSCR fpscr) + void + setContext(FPSCR fpscr) { fpscrLen = fpscr.len; fpscrStride = fpscr.stride; } - void setSveLen(uint8_t len) + void + setSveLen(uint8_t len) { sveLen = len; }