[PATCH v2 6/6] aarch64: Add testsuite checks for asm-flag

Richard Henderson richard.henderson@linaro.org
Mon Nov 18 20:06:00 GMT 2019


On 11/18/19 1:30 PM, Christophe Lyon wrote:
> I'm sorry to notice that the last test (asm-flag-6.c) fails to execute
> when compiling with -mabi=ilp32. I have less details than for Arm,
> because here I'm using the Foundation Model as simulator instead of
> Qemu. In addition, I'm using an old version of it, so maybe it's a
> simulator bug. Does it work on your side?

I don't know how to test ilp32 with qemu.  Is there a distribution that uses
this mode, and one tests in system mode?  We don't have user-only support for
ilp32.

I think I have reproduced this with newlib and aarch64-elf.  It could be
solvable by using either unsigned long long, or by using %w constraints with
the two cmp instructions.

Except that I made that change and the failure didn't go away.  I'm having
trouble building a version of gdb that can debug this...


r~



More information about the Gcc-patches mailing list