arch-vega,arch-gcn3: Fix s_cmp_lt_u32
Was using less-than-or-equal rather than less-than. All other comparison instructions look correct otherwise. Change-Id: Iee0374554f21a80a6da2eb75f38b22c83b6e1e9c Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/45499 Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com> Maintainer: Matt Sinclair <mattdsinclair@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -3496,7 +3496,7 @@ namespace Gcn3ISA
|
||||
src0.read();
|
||||
src1.read();
|
||||
|
||||
scc = (src0.rawData() <= src1.rawData()) ? 1 : 0;
|
||||
scc = (src0.rawData() < src1.rawData()) ? 1 : 0;
|
||||
|
||||
scc.write();
|
||||
}
|
||||
|
||||
@@ -3832,7 +3832,7 @@ namespace VegaISA
|
||||
src0.read();
|
||||
src1.read();
|
||||
|
||||
scc = (src0.rawData() <= src1.rawData()) ? 1 : 0;
|
||||
scc = (src0.rawData() < src1.rawData()) ? 1 : 0;
|
||||
|
||||
scc.write();
|
||||
} // execute
|
||||
|
||||
Reference in New Issue
Block a user