On 2/10/22 13:15, Taylor Simpson wrote:
On Hexagon, c4 is an alias for predicate registers P3:0. If we assign to
c4 inside a packet with reads from predicate registers, the predicate
reads should get the old values.
Test case added to tests/tcg/hexagon/preg_alias.c
Co-authored-by: Michael Lambert<[email protected]>
Signed-off-by: Taylor Simpson<[email protected]>
---
target/hexagon/genptr.c | 14 ++++++++-----
tests/tcg/hexagon/preg_alias.c | 38 ++++++++++++++++++++++++++++++++++
2 files changed, 47 insertions(+), 5 deletions(-)
Reviewed-by: Richard Henderson <[email protected]>
r~