arch,cpu: Get rid of the IsMemRef StaticInst flag.
authorGabe Black <gabeblack@google.com>
Sun, 30 Aug 2020 09:40:21 +0000 (02:40 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 16 Sep 2020 12:13:08 +0000 (12:13 +0000)
commita10c57375595b9e0bfd6458d25fa362db7559c13
treebc811d0e9b811661e0663b68937b15ad2fecc93c
parente7965ff60d5b538271cb52e0ab1e18d61bbf60cb
arch,cpu: Get rid of the IsMemRef StaticInst flag.

A comment at the top of StaticInstFlags.py says that if IsMemRef is set,
exactly one of IsStore or IsLoad will be set. That's not strictly true
since IsAtomic may be set as well, in which case neither IsStore or
IsLoad will be set (in one example I found).

The isMemRef accessor still exists, and now just ors the IsStore,
IsLoad, and IsAtomic flags.

Change-Id: Ic5ff104da68978273977a6eff2abab5dd0ae7fda
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33744
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
16 files changed:
src/arch/arm/insts/tme64.cc
src/arch/arm/isa/insts/data64.isa
src/arch/arm/isa/insts/macromem.isa
src/arch/arm/isa/insts/misc.isa
src/arch/arm/isa/insts/neon64_mem.isa
src/arch/arm/isa/insts/sve_mem.isa
src/arch/arm/isa/operands.isa
src/arch/mips/isa/operands.isa
src/arch/power/isa/operands.isa
src/arch/riscv/isa/formats/amo.isa
src/arch/riscv/isa/operands.isa
src/arch/sparc/isa/operands.isa
src/arch/x86/isa/formats/monitor_mwait.isa
src/arch/x86/isa/operands.isa
src/cpu/StaticInstFlags.py
src/cpu/static_inst.hh