From 88a2a18c1c41a12ac5d6b16d554e7301f9d2e27b Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 28 Jan 2021 17:04:24 -0800 Subject: [PATCH] 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 --- src/arch/arm/decoder.hh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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; } -- 2.30.2