tests/tcg/hexagon: fix underspecifed asm constraints
authorMukilan Thiyagarajan <quic_mthiyaga@quicinc.com>
Thu, 29 Dec 2022 08:18:36 +0000 (13:48 +0530)
committerTaylor Simpson <tsimpson@quicinc.com>
Thu, 5 Jan 2023 17:19:02 +0000 (09:19 -0800)
commiteaee3b6faf9de49b0cf327df570e1990a3d810cb
treeaf9663643621a7b5cbfc206e8dd71fad7c75e830
parent72895676e73c06a5c331777015b3780efda4edd0
tests/tcg/hexagon: fix underspecifed asm constraints

There are two test cases where the inline asm doesn't
have the correct constraints causing them to fail.

In misc.c, the 'result' output needs the early clobber
modifier since the rest of the inputs are read after
assignment to the output register.

In mem_noshuf.c, the register r7 is written to but
not specified in the clobber list.

Signed-off-by: Mukilan Thiyagarajan <quic_mthiyaga@quicinc.com>
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <20221229081836.12130-1-quic_mthiyaga@quicinc.com>
tests/tcg/hexagon/mem_noshuf.c
tests/tcg/hexagon/misc.c