Message ID | 20240511115400.7587-8-richard.henderson@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | RISU misc updates | expand |
On 11/5/24 13:53, Richard Henderson wrote: > There are 32 bits in this register, and they are all valid > comparision destinations. > > Signed-off-by: Richard Henderson <richard.henderson@linaro.org> > --- > risu_reginfo_ppc64.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
diff --git a/risu_reginfo_ppc64.c b/risu_reginfo_ppc64.c index 67ea3ce..109b87b 100644 --- a/risu_reginfo_ppc64.c +++ b/risu_reginfo_ppc64.c @@ -78,7 +78,7 @@ int reginfo_is_eq(struct reginfo *m, struct reginfo *a) return 0; } - if ((m->gregs[CCR] & 0x10) != (a->gregs[CCR] & 0x10)) { + if (m->gregs[CCR] != a->gregs[CCR]) { return 0; }
There are 32 bits in this register, and they are all valid comparision destinations. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- risu_reginfo_ppc64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)