gpu-compute: Fixed a bug in decoding Atomic ST
authorTuan Ta <taquangtuan1992@gmail.com>
Sat, 18 Jun 2016 17:02:13 +0000 (13:02 -0400)
committerTuan Ta <taquangtuan1992@gmail.com>
Sat, 18 Jun 2016 17:02:13 +0000 (13:02 -0400)
commitbb9033c26b6a84f4593c020a8078101e17a7b124
treee6e76d7270d9c64aab002ba3e3895896f943f0e2
parent54aeb1a187caa23b0bfe13da1872688f74a44061
gpu-compute: Fixed a bug in decoding Atomic ST

There is a mismatch between DataType and SrcDataType in constructing
Atomic ST instruction. The mismatch causes atomic_store and
atomic_store_explicit function to store incorrect value in memory.
src/arch/hsail/insts/mem.hh