When the value being passed to sext needs to be masked first, szext can be used instead without the masking. Change-Id: I98c99ad2731216fe8ccf1253f5ac3891fe03b1de Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/42386 Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br> Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu> Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu> Tested-by: kokoro <noreply+kokoro@google.com>