arch-gcn3: Fix V_MAD_I32_I24 sign extension
authorMichael LeBeane <Michael.Lebeane@amd.com>
Wed, 9 May 2018 21:02:17 +0000 (17:02 -0400)
committerAnthony Gutierrez <anthony.gutierrez@amd.com>
Mon, 22 Jun 2020 16:14:35 +0000 (16:14 +0000)
commit22190c01654269e6f4964f7295df6af73cb8d100
treef808c7bb673f696c6bc00ffb7a6aa8c59c265c5c
parentccee639904b6735d7424db2242685c6e90608ab1
arch-gcn3: Fix V_MAD_I32_I24 sign extension

We are not properly sign extending the bits we hack off for
V_MAD_I32_I24.

This fixes rnn_fwdBwd 64 1 1 lstm pte assertion failure.

Change-Id: I2516e5715227cbd822e6a62630674f64f7a109e0
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29928
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/gcn3/insts/instructions.cc