arch-arm: Dsb instruction shouldn't flush the pipeline
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 23 Oct 2017 09:54:16 +0000 (10:54 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Wed, 15 Nov 2017 14:16:57 +0000 (14:16 +0000)
DSB Instruction shouldn't flush the pipeline, hence the IsSquashAfter
attribute will be removed for either the 32 and 64 bit version.

Change-Id: I98b2b8bc78aa28445ed1a9b5f34645f8d71616ad
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Giacomo Gabrielli <giacomo.gabrielli@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/5363
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>

src/arch/arm/isa/insts/misc.isa
src/arch/arm/isa/insts/misc64.isa

index b42c9f9dd662153284db26dafff76404ead49bce..80ad6cdf42566ab9bb519b1476c8c68511efbf50 100644 (file)
@@ -1090,8 +1090,7 @@ let {{
     dsbIop = InstObjParams("dsb", "Dsb", "ImmOp",
                              {"code": dsbCode,
                                "predicate_test": predicateTest},
-                              ['IsMemBarrier', 'IsSerializeAfter',
-                               'IsSquashAfter'])
+                              ['IsMemBarrier', 'IsSerializeAfter'])
     header_output += ImmOpDeclare.subst(dsbIop)
     decoder_output += ImmOpConstructor.subst(dsbIop)
     exec_output += PredOpExecute.subst(dsbIop)
index ac9f0a960debd0f314702fbc444ab417472d03e7..58f08f51eafa7c1db50a9129ace99ad8ceae540a 100644 (file)
@@ -146,8 +146,7 @@ let {{
     exec_output += BasicExecute.subst(isbIop)
 
     dsbIop = InstObjParams("dsb", "Dsb64", "ArmStaticInst", "",
-                           ['IsMemBarrier', 'IsSerializeAfter',
-                            'IsSquashAfter'])
+                           ['IsMemBarrier', 'IsSerializeAfter'])
     header_output += BasicDeclare.subst(dsbIop)
     decoder_output += BasicConstructor64.subst(dsbIop)
     exec_output += BasicExecute.subst(dsbIop)