RE: [PATCH] tests/tcg/hexagon: fix underspecifed asm constraints

2022-12-29 Thread Mukilan Thiyagarajan (QUIC)
garajan (QUIC) ; qemu-devel@nongnu.org Cc: Brian Cain ; Matheus Bernardino (QUIC) Subject: RE: [PATCH] tests/tcg/hexagon: fix underspecifed asm constraints > -Original Message- > From: Mukilan Thiyagarajan (QUIC) > Sent: Wednesday, December 28, 2022 9:37 AM > To: qemu-devel@

RE: [PATCH] tests/tcg/hexagon: fix underspecifed asm constraints

2022-12-28 Thread Taylor Simpson
> -Original Message- > From: Mukilan Thiyagarajan (QUIC) > Sent: Wednesday, December 28, 2022 9:37 AM > To: qemu-devel@nongnu.org; Taylor Simpson > Cc: Brian Cain ; Matheus Bernardino (QUIC) > ; Mukilan Thiyagarajan (QUIC) > > Subject: [PATCH] tests/tcg/hexago

[PATCH] tests/tcg/hexagon: fix underspecifed asm constraints

2022-12-28 Thread Mukilan Thiyagarajan
There are two test cases where the inline asm doesn't have the correct constraints causing them to fail when using certain clang versions/optimization levels. In mem_noshuf.c, the register r7 is written to but not specified in the clobber list. In misc.c, the 'result' output needs the early clobb