tests/tcg/s390x: Add C(G)HRL test
authorNina Schoetterl-Glausch <nsg@linux.ibm.com>
Fri, 10 Mar 2023 11:41:57 +0000 (12:41 +0100)
committerThomas Huth <thuth@redhat.com>
Mon, 13 Mar 2023 08:23:42 +0000 (09:23 +0100)
commit410791228c415c0e4f76e6cafae7c82fae7cb8cb
tree0f8d517dd2c4550c1b286d76b3ed3843eb559e61
parent54fce97cfcaf5463ee5f325bc1f1d4adc2772f38
tests/tcg/s390x: Add C(G)HRL test

Test COMPARE HALFWORD RELATIVE LONG instructions.
Test that the bytes following the second operand do not affect the
instruction.
Test the sign extension performed on the second operand.

Signed-off-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20230310114157.3024170-3-nsg@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/tcg/s390x/Makefile.target
tests/tcg/s390x/chrl.c [new file with mode: 0644]