cpu: add a new instruction type 'Atomic'
authorTuan Ta <qtt2@cornell.edu>
Tue, 13 Feb 2018 04:19:50 +0000 (23:19 -0500)
committerTuan Ta <qtt2@cornell.edu>
Thu, 14 Jun 2018 22:41:30 +0000 (22:41 +0000)
commit7341f14f147337810325b19bac20db095b162911
treef8c5e2795048a110d216b4ad7108456bdaead5f8
parent78fb2c1a5d5e422bf14f134d677a83e3022238f1
cpu: add a new instruction type 'Atomic'

This patch adds a new flag named 'Atomic' to support ISA implementations
that use AtomicOpFunctor to handle atomic instructions instead of a
pair of locking load and unlocking store.

Change-Id: I1fbee6e54432396cb49dfc59ad9006b75812d115
Reviewed-on: https://gem5-review.googlesource.com/8187
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
src/cpu/StaticInstFlags.py
src/cpu/base_dyn_inst.hh
src/cpu/static_inst.hh