Searched hist:8183 (Results 1 - 2 of 2) sorted by relevance

/gem5/configs/ruby/
H A DMI_example.pydiff 8183:1333bd6cc2eb Mon Mar 28 11:49:00 EDT 2011 Nilay Vaish<nilay@cs.wisc.edu> Config: Import math in MI_example.py
/gem5/src/arch/riscv/isa/
H A Ddecoder.isadiff 13633:985e9c018cbf Mon Apr 02 15:19:00 EDT 2018 Tuan Ta <qtt2@cornell.edu> riscv: remove NonSpeculative flag from fence inst

Fence instruction origially had two flags NonSpeculative and
MemBarrier. In O3 model, MemBarrier instructions are inserted
into the instruction queue by the InstructionQueue::insertBarrier (at
src/cpu/o3/iew_impl.hh:1083). Barrier instructions are implicitly
assumed to be non-speculative.

Adding NonSpeculative flag to fence instruction makes it inserted into
the instruction queue twice (at src/cpu/o3/iew_impl.hh:1083 and :1111).
This can lead to a deadlock if both pointers to the instruction are not
cleared from the queue when the instruction retires.

This patch removes NonSpeculative flag from the fence inst.

Change-Id: I26573d12a0b52f43b73c0e51158286dc98d05ea4
Reviewed-on: https://gem5-review.googlesource.com/c/8183
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Alec Roelke <ar4jc@virginia.edu>
Maintainer: Alec Roelke <ar4jc@virginia.edu>

Completed in 13 milliseconds